aboutsummaryrefslogtreecommitdiff
path: root/network/memcached/memcached.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/memcached/memcached.SlackBuild')
-rw-r--r--network/memcached/memcached.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/memcached/memcached.SlackBuild b/network/memcached/memcached.SlackBuild
index d25ba7fe4ed0..c152fba291e6 100644
--- a/network/memcached/memcached.SlackBuild
+++ b/network/memcached/memcached.SlackBuild
@@ -28,6 +28,8 @@
# Originally written by Conrado Ruch Jr conradojr@gmail.com
# Added rc startup script contributed by Miguel De Anda
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="memcached"
VERSION=${VERSION:-1.6.9}
BUILD=${BUILD:-1}
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}