summaryrefslogtreecommitdiffstats
path: root/tool/ifchange
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-17 06:50:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-17 06:50:33 +0000
commitb7f376baa1d3e92e0e71258607ae3f2216101a04 (patch)
tree057e273a6afc680e07963c7d11a89ff57c38b588 /tool/ifchange
parent346157ffb52a5bdd2789c540406e1d1ae0fdfc79 (diff)
downloadruby-b7f376baa1d3e92e0e71258607ae3f2216101a04.tar.gz
ruby-b7f376baa1d3e92e0e71258607ae3f2216101a04.tar.xz
ruby-b7f376baa1d3e92e0e71258607ae3f2216101a04.zip
* tool/ifchange: removed newer substitution syntax.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/ifchange')
-rwxr-xr-xtool/ifchange3
1 files changed, 1 insertions, 2 deletions
diff --git a/tool/ifchange b/tool/ifchange
index ca2ea4064..7038615d4 100755
--- a/tool/ifchange
+++ b/tool/ifchange
@@ -8,7 +8,7 @@ until [ "$0" = 0 ]; do
timestamp=.
;;
--timestamp=*)
- timestamp="${1#*=}" || timestamp=`expr "$1" : '[^=]*=\(.*\)'`
+ timestamp=`expr "$1" : '[^=]*=\(.*\)'`
;;
*)
break
@@ -37,7 +37,6 @@ if [ -n "${timestamp}" ]; then
if [ x"${timestamp}" = x. ]; then
case "$target" in
*/*)
- timestamp="${target%/*}"/.time."${target##*/}" ||
timestamp=`dirname "$target"`/.time.`basename "$target"`
;;
*)