aboutsummaryrefslogtreecommitdiff
path: root/games/endgame-singularity
diff options
context:
space:
mode:
Diffstat (limited to 'games/endgame-singularity')
-rw-r--r--games/endgame-singularity/endgame-singularity.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/endgame-singularity/endgame-singularity.SlackBuild b/games/endgame-singularity/endgame-singularity.SlackBuild
index b2edd7fc68c87..7b1a9003574c5 100644
--- a/games/endgame-singularity/endgame-singularity.SlackBuild
+++ b/games/endgame-singularity/endgame-singularity.SlackBuild
@@ -24,6 +24,8 @@
# Another slackbuild already installs an executable named singularity
# therefore the executable will be renamed to endgame-singularity
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=endgame-singularity
VERSION=${VERSION:-1.00}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}