diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-11 06:36:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-11 06:36:21 +0000 |
commit | 9d3d606907e3b4b3ac239d7a53d242e6b43f1e5a (patch) | |
tree | e9d9bca13d00f63d23371686bb54b9cc83fa893d /Makefile.in | |
parent | 9c37d74a8c9e999a494fdff1cf01945e19b53ba6 (diff) | |
download | ruby-9d3d606907e3b4b3ac239d7a53d242e6b43f1e5a.tar.gz |
* Makefile.in ({,dist-,real-}clean-ext): omission of "in WORDS" of
FOR-statement is not allowed in /bin/sh on Solaris. fore-ported
r28609 from 1.9.2.
* tool/rmdirs: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index b94d86e06c..ee2f2b5e1f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -259,11 +259,11 @@ distclean-rdoc: clean-ext distclean-ext realclean-ext:: @cd ext 2>/dev/null || exit 0; set dummy `echo "${EXTS}" | tr , ' '`; shift; \ test "$$#" = 0 && set .; \ - set dummy `for dir; do \ + set dummy `for dir in "$$@"; do \ find $$dir -name Makefile | sed 's:^\./::;s:/Makefile$$:~:' | sort | sed 's:~$$::'; \ done`; shift; \ cd ..; \ - for dir; do \ + for dir in "$$@"; do \ echo $(@:-ext=)ing "$$dir"; \ (cd "ext/$$dir" && exec $(MAKE) $(MFLAGS) $(@:-ext=)) && \ case "$@" in \ |