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 /configure.in | |
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
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |