aboutsummaryrefslogtreecommitdiff
path: root/games/dreamchess/dreamchess.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/dreamchess/dreamchess.SlackBuild')
-rw-r--r--games/dreamchess/dreamchess.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/dreamchess/dreamchess.SlackBuild b/games/dreamchess/dreamchess.SlackBuild
index 549b1803695ad..fe6dce63dd24e 100644
--- a/games/dreamchess/dreamchess.SlackBuild
+++ b/games/dreamchess/dreamchess.SlackBuild
@@ -5,6 +5,8 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
# Maintained by Kent Fritz <fritz.kent@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dreamchess
VERSION=${VERSION:-0.3.0}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}