From 4fe3fd0045ec125478177c8da17156bfb5ebbf3c Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Wed, 24 Nov 2004 14:39:00 +0000 Subject: [PATCH] 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. --- ChangeLog | 12 ++++++++++++ config/general.m4sh | 1 + tests/defs.m4sh | 1 - 3 files changed, 13 insertions(+), 1 deletion(-) 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//" -- 2.47.2