From: Alexandre Oliva Date: Sun, 3 Sep 2000 21:53:03 +0000 (+0000) Subject: * libtool.m4: Don't quote SHELL when `re-exec'ing, so that SHELL X-Git-Tag: release-1-3d~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76a616e4fbfc6064f8b8aaad23574e02829ce54d;p=thirdparty%2Flibtool.git * libtool.m4: Don't quote SHELL when `re-exec'ing, so that SHELL can be `/path/to/shell -x'. --- diff --git a/ChangeLog b/ChangeLog index 93a5bb4be..838031a5e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-09-03 Alexandre Oliva + * libtool.m4: Don't quote SHELL when `re-exec'ing, so that SHELL + can be `/path/to/shell -x'. + * tests/quote.test: Move the match test out of case statements, to work around bug in /bin/sh of several OSs. diff --git a/libtool.m4 b/libtool.m4 index a222dfc93..4c42dc05e 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -223,7 +223,7 @@ elif test "X`($lt_echo '\t') 2>/dev/null`" = 'X\t'; then : else # Restart under the correct shell. - exec "$SHELL" "[$]0" --no-reexec ${1+"[$]@"} + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} fi if test "X[$]1" = X--fallback-echo; then