aboutsummaryrefslogtreecommitdiff
path: root/games/oblige-legacy4/oblige-legacy4.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/oblige-legacy4/oblige-legacy4.SlackBuild')
-rw-r--r--games/oblige-legacy4/oblige-legacy4.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/oblige-legacy4/oblige-legacy4.SlackBuild b/games/oblige-legacy4/oblige-legacy4.SlackBuild
index 75adaf2bd6ef..562aee964d6e 100644
--- a/games/oblige-legacy4/oblige-legacy4.SlackBuild
+++ b/games/oblige-legacy4/oblige-legacy4.SlackBuild
@@ -21,6 +21,8 @@
# Rider for the bug report). Also get rid of +x permissions on the data files
# in /usr/share.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=oblige-legacy4
VERSION=${VERSION:-4.28b}
BUILD=${BUILD:-2}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}