aboutsummaryrefslogtreecommitdiff
path: root/games/tuxnes/tuxnes.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/tuxnes/tuxnes.SlackBuild')
-rw-r--r--games/tuxnes/tuxnes.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/tuxnes/tuxnes.SlackBuild b/games/tuxnes/tuxnes.SlackBuild
index 1f1738c33ce8..5cffbc823a0e 100644
--- a/games/tuxnes/tuxnes.SlackBuild
+++ b/games/tuxnes/tuxnes.SlackBuild
@@ -4,6 +4,8 @@
# Written by Kyle Guinn <elyk03@gmail.com>
# Updated slightly by B. Watson <yalhcru@gmail.com>, with permission
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tuxnes
VERSION=${VERSION:-0.75}
BUILD=${BUILD:-2}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}