aboutsummaryrefslogtreecommitdiff
path: root/games/openyahtzee/openyahtzee.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/openyahtzee/openyahtzee.SlackBuild')
-rw-r--r--games/openyahtzee/openyahtzee.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/openyahtzee/openyahtzee.SlackBuild b/games/openyahtzee/openyahtzee.SlackBuild
index 48023556fb71..71d0460d2b31 100644
--- a/games/openyahtzee/openyahtzee.SlackBuild
+++ b/games/openyahtzee/openyahtzee.SlackBuild
@@ -11,6 +11,8 @@
# openyahtzee won't build against wx 3, so this script now uses the 2.x script
# explicitly.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openyahtzee
VERSION=${VERSION:-1.9.3}
BUILD=${BUILD:-1}
@@ -24,7 +26,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}