From: Gary V. Vaughan Date: Wed, 24 Nov 2004 14:39:00 +0000 (+0000) Subject: If the user's login shell is something crazy like, oooh, X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fe3fd0045ec125478177c8da17156bfb5ebbf3c;p=thirdparty%2Flibtool.git If the user's login shell is something crazy like, oooh, /bin/tcsh, trying to execute bourne shell helper scripts with the `$SHELL /path/to/helper $helper_flags' idiom incase the execute bits were lost by say, eeer, cvs, is gonna blow up in our faces. This changeset tries to save these people from their shells^H^H^H^H^H^H^H^H^Hmselves :-> * tests/defs.m4sh (SHELL): Move definition from here... * config/general.m4sh (SHELL): ...to here. --- diff --git a/ChangeLog b/ChangeLog index beebceaaf..6e3cb1bd7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2004-11-23 Gary V. Vaughan + + If the user's login shell is something crazy like, oooh, + /bin/tcsh, trying to execute bourne shell helper scripts with + the `$SHELL /path/to/helper $helper_flags' idiom incase the + execute bits were lost by say, eeer, cvs, is gonna blow up in + our faces. This changeset tries to save these people from + their shells^H^H^H^H^H^H^H^H^Hmselves :-> + + * tests/defs.m4sh (SHELL): Move definition from here... + * config/general.m4sh (SHELL): ...to here. + 2004-11-23 Gary V. Vaughan The ltdl.h header is the published interface to libltdl, and diff --git a/config/general.m4sh b/config/general.m4sh index 23880ccdf..46ddbaa7b 100644 --- a/config/general.m4sh +++ b/config/general.m4sh @@ -36,6 +36,7 @@ m4_if([# general.m4sh -- general shell script boiler plate -*- Autoconf -*- : ${MV="mv -f"} : ${RM="rm -f"} : ${SED="@SED@"} +: ${SHELL="${CONFIG_SHELL-/bin/sh}"} : ${Xsed="$SED -e s/^X//"} # Global variables: diff --git a/tests/defs.m4sh b/tests/defs.m4sh index e3b154df9..0c2ba8529 100644 --- a/tests/defs.m4sh +++ b/tests/defs.m4sh @@ -32,7 +32,6 @@ m4_include([general.m4sh]) : ${AUTOCONF="autoconf"} : ${LIBTOOL="../libtool"} -: ${SHELL="${CONFIG_SHELL-/bin/sh}"} # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="$SED -e s/^X//"