]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (ORIGINAL_CONFIG_SHELL): Prevent lossage when
authorGary V. Vaughan <gary@gnu.org>
Tue, 30 May 2000 00:31:59 +0000 (00:31 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 30 May 2000 00:31:59 +0000 (00:31 +0000)
the echo probing code falls into this branch without setting
this variable.

ChangeLog
ltconfig.in

index 2c4d66af8a173b87b7f385751b34a1ab58587e05..04ff393eb1e04b1c35816c147193f2779bc5e91f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2000-05-30  Gary V. Vaughan  <gvv@techie.com>
 
+       * ltconfig.in (ORIGINAL_CONFIG_SHELL): Prevent lossage when
+       the echo probing code falls into this branch without setting
+       this variable.
+
        * ltcf-c.sh (netbsd*): archive_cmds and archive_expsym_cmds
        were reversed with respect to definition of __ELF__.
        * ltcf-gcj.sh (netbsd*): ditto.
index 6f9efa35199bf2d0e06d1897e02f0da1501e893e..4a1abe28128a792e457b3c34cf4613ebdef74594 100755 (executable)
@@ -150,8 +150,9 @@ else
 
        if test "$prev" != 'sed 50q "$0"'; then
          echo_test_string=`eval $prev`
+         
          export echo_test_string
-         exec "${ORIGINAL_CONFIG_SHELL}" "$0" ${1+"$@"}
+         exec "${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}}" "$0" ${1+"$@"}
        else
          # Oops.  We lost completely, so just stick with echo.
          echo=echo