aboutsummaryrefslogtreecommitdiff
path: root/games/ztrack/ztrack.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/ztrack/ztrack.SlackBuild')
-rw-r--r--games/ztrack/ztrack.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/ztrack/ztrack.SlackBuild b/games/ztrack/ztrack.SlackBuild
index f1f1aa6e424c6..f630aaf6dde32 100644
--- a/games/ztrack/ztrack.SlackBuild
+++ b/games/ztrack/ztrack.SlackBuild
@@ -2,6 +2,8 @@
# Slackware build script for ztrack
# Written by Dan-Simon Myrland <dansimon@radiotube.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ztrack
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
@@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}