aboutsummaryrefslogtreecommitdiff
path: root/system/tokyotyrant/tokyotyrant.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/tokyotyrant/tokyotyrant.SlackBuild')
-rw-r--r--system/tokyotyrant/tokyotyrant.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/tokyotyrant/tokyotyrant.SlackBuild b/system/tokyotyrant/tokyotyrant.SlackBuild
index b1d760d1402f..f929b27bad5f 100644
--- a/system/tokyotyrant/tokyotyrant.SlackBuild
+++ b/system/tokyotyrant/tokyotyrant.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for Tokyo Tyrant
# Written by kuroi_kenshi <kuroi_kenshi96@yahoo.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tokyotyrant
VERSION=${VERSION:-1.1.40}
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}