INN commit: trunk (Makefile.global.in support/fixscript.in)

INN Commit Russ_Allbery at isc.org
Sun Apr 12 20:52:53 UTC 2009


    Date: Sunday, April 12, 2009 @ 13:52:52
  Author: iulius
Revision: 8417

Find out a working shell via configure.
It will also allow the user to modify it with the CONFIG_SHELL
environment variable.

Modified:
  trunk/Makefile.global.in
  trunk/support/fixscript.in

----------------------+
 Makefile.global.in   |    2 +-
 support/fixscript.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Modified: Makefile.global.in
===================================================================
--- Makefile.global.in	2009-04-12 20:26:00 UTC (rev 8416)
+++ Makefile.global.in	2009-04-12 20:52:52 UTC (rev 8417)
@@ -320,7 +320,7 @@
 ##  Some additional definitions needed by some versions of make, to ensure a
 ##  consistant set of variables are available.
 
-SHELL		= /bin/sh
+SHELL		= @SHELL@
 
 @SET_MAKE@
 

Modified: support/fixscript.in
===================================================================
--- support/fixscript.in	2009-04-12 20:26:00 UTC (rev 8416)
+++ support/fixscript.in	2009-04-12 20:52:52 UTC (rev 8417)
@@ -59,7 +59,7 @@
 interpretor=`head -n 1 "$input"`
 case "$interpretor" in
 */sh|*SH*)
-    path="/bin/sh"
+    path="@SHELL@"
     lib=". $libdir/innshellvars"
     ;;
 */perl*|*PERL*)




More information about the inn-committers mailing list