* [PATCH] SHELL not /bin/sh
@ 2016-12-22 22:37 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2016-12-22 22:37 UTC (permalink / raw)
To: spew
---
configure.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.in b/configure.in
index c5132dc97f..ec497408cc 100644
--- a/configure.in
+++ b/configure.in
@@ -721,7 +721,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
- /bin/sh -c "$chdir ../src && echo '$chdir' > cdcmd" 2> /dev/null && break
+ $SHELL -c "$chdir ../src && echo '$chdir' > cdcmd" 2> /dev/null && break
done)
if test -f conf$$.dir/src/cdcmd; then
read CHDIR < conf$$.dir/src/cdcmd 2> /dev/null
@@ -3980,7 +3980,7 @@ fi
AS_CASE("$cross_compiling:${LIBPATHENV}", [yes:* | no:], [], [
AC_MSG_CHECKING(whether wrapper for $LIBPATHENV is needed)
- AS_IF([env ${LIBPATHENV}=/lib /bin/sh -c ': ${'${LIBPATHENV}'?}' 2>/dev/null],
+ AS_IF([env ${LIBPATHENV}=/lib $SHELL -c ': ${'${LIBPATHENV}'?}' 2>/dev/null],
[AC_MSG_RESULT(no)],
[PREP="$PREP"' ruby-runner$(EXEEXT)'
AC_MSG_RESULT(yes)]
@@ -4559,7 +4559,7 @@ guard=INCLUDE_RUBY_CONFIG_H
} | tr -d '\015' |
(
if test "x$CONFIGURE_TTY" = xyes; then color=--color; else color=; fi
- exec ${srcdir}/tool/ifchange $color "${config_h}" -
+ exec $SHELL ${srcdir}/tool/ifchange $color "${config_h}" -
) || AC_MSG_ERROR([failed to create ${config_h}])
tr -d '\015' < largefile.h > confdefs.h
rm largefile.h
--
EW
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-12-22 22:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-22 22:37 [PATCH] SHELL not /bin/sh Eric Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).