aboutsummaryrefslogtreecommitdiff
path: root/network/GeoIP/GeoIP.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/GeoIP/GeoIP.SlackBuild')
-rw-r--r--network/GeoIP/GeoIP.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/GeoIP/GeoIP.SlackBuild b/network/GeoIP/GeoIP.SlackBuild
index aa9dee2d0ece..1bd2eb589f00 100644
--- a/network/GeoIP/GeoIP.SlackBuild
+++ b/network/GeoIP/GeoIP.SlackBuild
@@ -30,6 +30,8 @@
# Maintained by David Spencer <baildon.research@googlemail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=GeoIP
VERSION=${VERSION:-1.6.12}
BUILD=${BUILD:-1}
@@ -43,7 +45,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}