aboutsummaryrefslogtreecommitdiff
path: root/libraries/libmemcached
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libmemcached')
-rw-r--r--libraries/libmemcached/libmemcached.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libmemcached/libmemcached.SlackBuild b/libraries/libmemcached/libmemcached.SlackBuild
index aad2abf6e6bd9..5a3dbcc6b947c 100644
--- a/libraries/libmemcached/libmemcached.SlackBuild
+++ b/libraries/libmemcached/libmemcached.SlackBuild
@@ -29,6 +29,8 @@
# pthread linking patch and added following configure switches
# --enable-libmemcachedprotocol --enable-memaslap --enable-dtrace
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="libmemcached"
VERSION=${VERSION:-1.0.18}
BUILD=${BUILD:-2}
@@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}