summaryrefslogtreecommitdiffstats
path: root/games/endgame-singularity/endgame-singularity.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/endgame-singularity/endgame-singularity.SlackBuild')
-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 b2edd7fc68..7b1a900357 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}