summaryrefslogtreecommitdiff
path: root/games/lincity-ng/lincity-ng.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/lincity-ng/lincity-ng.SlackBuild')
-rw-r--r--games/lincity-ng/lincity-ng.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/lincity-ng/lincity-ng.SlackBuild b/games/lincity-ng/lincity-ng.SlackBuild
index 7a6333a051..fc1f17093b 100644
--- a/games/lincity-ng/lincity-ng.SlackBuild
+++ b/games/lincity-ng/lincity-ng.SlackBuild
@@ -4,6 +4,8 @@
# Written by M.Dinslage (daedra1980{at}gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lincity-ng
VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}