ipsec: Allow the shell in the shebang to be changed.
authorTobias Brunner <tobias@strongswan.org>
Tue, 11 Oct 2011 14:22:26 +0000 (16:22 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 11 Oct 2011 14:30:20 +0000 (16:30 +0200)
src/ipsec/Makefile.am
src/ipsec/ipsec.in

index 510f102..8420e1a 100644 (file)
@@ -10,6 +10,7 @@ ipsec.8 : ipsec.8.in
 
 ipsec : ipsec.in
        sed \
+       -e "s:@IPSEC_SHELL@:/bin/sh:" \
        -e "s:@IPSEC_VERSION@:$(PACKAGE_VERSION):" \
        -e "s:@IPSEC_NAME@:$(PACKAGE_NAME):" \
        -e "s:@IPSEC_DISTRO@::" \
index a501463..b3e2b95 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! @IPSEC_SHELL@
 # prefix command to run stuff from our programs directory
 # Copyright (C) 1998-2002  Henry Spencer.
 # Copyright (C) 2006 Andreas Steffen