summaryrefslogtreecommitdiffstats
path: root/games/hack-of-life/hack-of-life.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/hack-of-life/hack-of-life.SlackBuild')
-rw-r--r--games/hack-of-life/hack-of-life.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/hack-of-life/hack-of-life.SlackBuild b/games/hack-of-life/hack-of-life.SlackBuild
index 443e21b6db..6b71088d9e 100644
--- a/games/hack-of-life/hack-of-life.SlackBuild
+++ b/games/hack-of-life/hack-of-life.SlackBuild
@@ -12,6 +12,8 @@
# standard in the roguelike world... It's not configurable in this
# game, meaning I'm never going to enjoy playing it very much :(
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hack-of-life
VERSION=${VERSION:-20130628_3a6c824}
BUILD=${BUILD:-1}
@@ -25,7 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}