]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
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 510f1021acc0ccfff05f97363d640282e8c91ba9..8420e1ace4ff44283d5150a5959a052d9694e22a 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 a501463dffd3dc4ccdf238578b4f67739ce0bb16..b3e2b951d174a3df569f864b57c63f87dd26e444 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