aboutsummaryrefslogtreecommitdiff
path: root/games/mininim
diff options
context:
space:
mode:
Diffstat (limited to 'games/mininim')
-rw-r--r--games/mininim/mininim.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/mininim/mininim.SlackBuild b/games/mininim/mininim.SlackBuild
index c45d757f70028..560d00e3a13fa 100644
--- a/games/mininim/mininim.SlackBuild
+++ b/games/mininim/mininim.SlackBuild
@@ -15,6 +15,8 @@
# sdlpop. As it stands, we have both (choice is good). mininim is a lot
# more unix-friendly, easier to package.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mininim
VERSION=${VERSION:-201701122309}
BUILD=${BUILD:-1}
@@ -28,7 +30,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}