]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4: Don't quote SHELL when `re-exec'ing, so that SHELL
authorAlexandre Oliva <aoliva@redhat.com>
Sun, 3 Sep 2000 21:53:03 +0000 (21:53 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sun, 3 Sep 2000 21:53:03 +0000 (21:53 +0000)
can be `/path/to/shell -x'.

ChangeLog
libtool.m4

index 93a5bb4bef612cd4fdb985116a98d471229b8a67..838031a5e44ea5eedd5d0a7dfe9848d87fb5b4d0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-09-03  Alexandre Oliva  <aoliva@redhat.com>
 
+       * 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.
 
index a222dfc932f81505b4b41643f80b4adb01296463..4c42dc05e9894dc309d0f7c54a513a806d6b0a40 100644 (file)
@@ -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