aboutsummaryrefslogtreecommitdiff
path: root/network/varnish/varnish.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/varnish/varnish.SlackBuild')
-rw-r--r--network/varnish/varnish.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/varnish/varnish.SlackBuild b/network/varnish/varnish.SlackBuild
index e659010ca0bc5..0595adaaf066d 100644
--- a/network/varnish/varnish.SlackBuild
+++ b/network/varnish/varnish.SlackBuild
@@ -5,6 +5,8 @@
# Written by Matt Schurenko <matt.schurenko@gmail.com>
# Updated by Emmanuel N. Millan
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=varnish
VERSION=${VERSION:-6.5.1}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}