summaryrefslogtreecommitdiffstats
path: root/network/strongswan/strongswan.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/strongswan/strongswan.SlackBuild')
-rw-r--r--network/strongswan/strongswan.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/strongswan/strongswan.SlackBuild b/network/strongswan/strongswan.SlackBuild
index bd31297aba..e758fafeef 100644
--- a/network/strongswan/strongswan.SlackBuild
+++ b/network/strongswan/strongswan.SlackBuild
@@ -37,6 +37,8 @@
# - added DEFAULT_CONFIG_OPTS and EXTRA_CONFIG_OPTS
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=strongswan
VERSION=${VERSION:-5.9.1}
BUILD=${BUILD:-1}
@@ -91,7 +93,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}