]> 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:37:48 +0000 (00:37 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 30 May 2000 00:37:48 +0000 (00:37 +0000)
the echo probing code falls into this branch without setting
this variable.

ChangeLog
ltconfig.in

index 25cd05e51b12a2d73a56617fb5e7ea779c32d8c3..b547d6fafbc9e35a7028ea2309b0e2f1631c6013 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.
+
        * ltconfig.in (netbsd*): archive_cmds and archive_expsym_cmds
        were reversed with respect to definition of __ELF__.
        From Keisuke Inoue <keisuke@csl.sony.co.jp>
index 774bd25a3dba232b8f092c252fb99e06a94cf5c7..1acd7dcde11acafb2c4d1e7083772af8c1bfe50f 100755 (executable)
@@ -151,7 +151,7 @@ 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