ruby-changes:11199
From: akr <ko1@a...>
Date: Sat, 7 Mar 2009 13:59:12 +0900 (JST)
Subject: [ruby-changes:11199] Ruby:r22807 (trunk): * configure.in: the shell which runs configure may be different from
akr 2009-03-07 13:55:48 +0900 (Sat, 07 Mar 2009) New Revision: 22807 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22807 Log: * configure.in: the shell which runs configure may be different from the shell for make. configure likes bash but Makefile specifies SHELL=/bin/sh. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 22806) +++ configure.in (revision 22807) @@ -302,7 +302,7 @@ (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 Index: ChangeLog =================================================================== --- ChangeLog (revision 22806) +++ ChangeLog (revision 22807) @@ -1,3 +1,9 @@ +Sat Mar 7 13:52:01 2009 Tanaka Akira <akr@f...> + + * 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@r...> * test/erb/test_erb.rb: reverted space sensitive test results. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/