aboutsummaryrefslogtreecommitdiffstats
path: root/src/ipsec
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-10-11 16:22:26 +0200
committerTobias Brunner <tobias@strongswan.org>2011-10-11 16:30:20 +0200
commit59ae6fd6f21eca7fc72729d358b75dee483ab928 (patch)
treec8a3af042de57b59f8c087837f5f60b8f4cf0297 /src/ipsec
parentb66a3b3d28a28eacff6e97ab36872ea672c3d830 (diff)
downloadstrongswan-59ae6fd6f21eca7fc72729d358b75dee483ab928.tar.bz2
strongswan-59ae6fd6f21eca7fc72729d358b75dee483ab928.tar.xz
ipsec: Allow the shell in the shebang to be changed.
Diffstat (limited to 'src/ipsec')
-rw-r--r--src/ipsec/Makefile.am1
-rwxr-xr-xsrc/ipsec/ipsec.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ipsec/Makefile.am b/src/ipsec/Makefile.am
index 510f1021a..8420e1ace 100644
--- a/src/ipsec/Makefile.am
+++ b/src/ipsec/Makefile.am
@@ -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@::" \
diff --git a/src/ipsec/ipsec.in b/src/ipsec/ipsec.in
index a501463df..b3e2b951d 100755
--- a/src/ipsec/ipsec.in
+++ b/src/ipsec/ipsec.in
@@ -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