diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-07 04:55:48 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-07 04:55:48 +0000 |
commit | 4210e54d264e118e75c4704600de3e49e25b37f8 (patch) | |
tree | 5ca37556eea1466851bbc9380a6281e33f220a05 | |
parent | ba45b0fe487dd1572e30590e76ee8a49394d9f8d (diff) | |
download | ruby-4210e54d264e118e75c4704600de3e49e25b37f8.tar.gz |
* configure.in: the shell which runs configure may be different from
the shell for make. configure likes bash but Makefile specifies
SHELL=/bin/sh.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Sat Mar 7 13:52:01 2009 Tanaka Akira <akr@fsij.org> + + * configure.in: the shell which runs configure may be different from + the shell for make. configure likes bash but Makefile specifies + SHELL=/bin/sh. + Sat Mar 7 12:31:30 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * test/erb/test_erb.rb: reverted space sensitive test results. diff --git a/configure.in b/configure.in index 569deefb52..0fad3c0b0e 100644 --- a/configure.in +++ b/configure.in @@ -302,7 +302,7 @@ mkdir conf$$.dir && (cd conf$$.dir && mkdir src build && cd src && $as_ln_s ../build . > /dev/null 2>&1 && cd build && for chdir in 'cd -P' 'PWD= cd'; do - ($chdir ../src 2> /dev/null && echo "$chdir" > cdcmd) && break + ( ${CONFIG_SHELL-/bin/sh} -c "$chdir ../src" 2> /dev/null && echo "$chdir" > cdcmd) && break done) if test -e conf$$.dir/src/cdcmd; then read CHDIR < conf$$.dir/src/cdcmd 2> /dev/null |