summaryrefslogtreecommitdiff
path: root/system/trackfs/trackfs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/trackfs/trackfs.SlackBuild')
-rw-r--r--system/trackfs/trackfs.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/trackfs/trackfs.SlackBuild b/system/trackfs/trackfs.SlackBuild
index 47be4525ae..ec17aa9d3a 100644
--- a/system/trackfs/trackfs.SlackBuild
+++ b/system/trackfs/trackfs.SlackBuild
@@ -8,6 +8,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=trackfs
VERSION=${VERSION:-0.1.0}
BUILD=${BUILD:-1}
@@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}