From: Gary V. Vaughan Date: Tue, 30 May 2000 00:37:48 +0000 (+0000) Subject: * ltconfig.in (ORIGINAL_CONFIG_SHELL): Prevent lossage when X-Git-Tag: release-1-3d~160 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d160ac41aaa14e50439d67a8bfd2c3295c001ae;p=thirdparty%2Flibtool.git * ltconfig.in (ORIGINAL_CONFIG_SHELL): Prevent lossage when the echo probing code falls into this branch without setting this variable. --- diff --git a/ChangeLog b/ChangeLog index 25cd05e51..b547d6faf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2000-05-30 Gary V. Vaughan + * 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 diff --git a/ltconfig.in b/ltconfig.in index 774bd25a3..1acd7dcde 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -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