From 76a616e4fbfc6064f8b8aaad23574e02829ce54d Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Sun, 3 Sep 2000 21:53:03 +0000 Subject: [PATCH] * libtool.m4: Don't quote SHELL when `re-exec'ing, so that SHELL can be `/path/to/shell -x'. --- ChangeLog | 3 +++ libtool.m4 | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- 2.47.3