aboutsummaryrefslogtreecommitdiff
path: root/games/smc/smc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/smc/smc.SlackBuild')
-rw-r--r--games/smc/smc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/smc/smc.SlackBuild b/games/smc/smc.SlackBuild
index 83412f9d36213..3cc2aec06d716 100644
--- a/games/smc/smc.SlackBuild
+++ b/games/smc/smc.SlackBuild
@@ -25,6 +25,8 @@
# - remove original author's email
# - add WTFPL license
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=smc
VERSION=${VERSION:-20140328}
BUILD=${BUILD:-2}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}