aboutsummaryrefslogtreecommitdiff
path: root/games/frotz
diff options
context:
space:
mode:
Diffstat (limited to 'games/frotz')
-rw-r--r--games/frotz/frotz.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/frotz/frotz.SlackBuild b/games/frotz/frotz.SlackBuild
index dfb2bef7f862..6d72ffcf7e11 100644
--- a/games/frotz/frotz.SlackBuild
+++ b/games/frotz/frotz.SlackBuild
@@ -25,6 +25,8 @@
# - updated for Slackware 14 and frotz 2.43d.
# - include dumb terminal frotz in build.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=frotz
VERSION=${VERSION:-2.52}
BUILD=${BUILD:-2}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}