aboutsummaryrefslogtreecommitdiff
path: root/development/leveldb/leveldb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/leveldb/leveldb.SlackBuild')
-rw-r--r--development/leveldb/leveldb.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/leveldb/leveldb.SlackBuild b/development/leveldb/leveldb.SlackBuild
index 5f4c6d23d62f5..fc1363c3768fb 100644
--- a/development/leveldb/leveldb.SlackBuild
+++ b/development/leveldb/leveldb.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for LevelDB
# Written by Mário Antunes (mario.antunes@av.it.pt)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=leveldb
VERSION=${VERSION:-1.9.0}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}