summaryrefslogtreecommitdiffstats
path: root/games/dice/dice.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/dice/dice.SlackBuild')
-rw-r--r--games/dice/dice.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/dice/dice.SlackBuild b/games/dice/dice.SlackBuild
index ae98dda2cf..d6ed7bd1f3 100644
--- a/games/dice/dice.SlackBuild
+++ b/games/dice/dice.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for dice
# Written by powtrix (@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dice
VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}