aboutsummaryrefslogtreecommitdiff
path: root/system/nbench/nbench.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/nbench/nbench.SlackBuild')
-rw-r--r--system/nbench/nbench.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/nbench/nbench.SlackBuild b/system/nbench/nbench.SlackBuild
index b5ff159af4df5..f3c59b0500615 100644
--- a/system/nbench/nbench.SlackBuild
+++ b/system/nbench/nbench.SlackBuild
@@ -24,6 +24,8 @@
#
# Maintained by David Spencer <baildon.research@googlemail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nbench
VERSION=${VERSION:-2.2.3}
SRCVERSION="byte-$VERSION"
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}