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 | d21ec328e858659d475acefc1714b5b91dfaad39 (patch) | |
tree | 5ca37556eea1466851bbc9380a6281e33f220a05 | |
parent | e04b95c0d59a297fd0619f22f10848e08d762798 (diff) | |
download | ruby-d21ec328e858659d475acefc1714b5b91dfaad39.tar.gz ruby-d21ec328e858659d475acefc1714b5b91dfaad39.tar.xz ruby-d21ec328e858659d475acefc1714b5b91dfaad39.zip |
* 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: http://svn.ruby-lang.org/repos/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 569deefb5..0fad3c0b0 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 |