aboutsummaryrefslogtreecommitdiff
path: root/games/lmpc/lmpc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/lmpc/lmpc.SlackBuild')
-rw-r--r--games/lmpc/lmpc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/lmpc/lmpc.SlackBuild b/games/lmpc/lmpc.SlackBuild
index 2bfb0c2107a21..668d4a77591ff 100644
--- a/games/lmpc/lmpc.SlackBuild
+++ b/games/lmpc/lmpc.SlackBuild
@@ -32,6 +32,8 @@
# - add -j1 to make command :(
# - binaries in /usr/games
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lmpc
VERSION=${VERSION:-1b70022}
BUILD=${BUILD:-1}
@@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}