summaryrefslogtreecommitdiffstats
path: root/games/nestopia/nestopia.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/nestopia/nestopia.SlackBuild')
-rw-r--r--games/nestopia/nestopia.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/nestopia/nestopia.SlackBuild b/games/nestopia/nestopia.SlackBuild
index 3d9629202f..94c1315d10 100644
--- a/games/nestopia/nestopia.SlackBuild
+++ b/games/nestopia/nestopia.SlackBuild
@@ -5,6 +5,8 @@
# Written by Dugan Chen (thedoogster@gmail.com)
# Editd by RuohShoei LIN
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nestopia
LIBNAM=${PRGNAM}_libretro
VERSION=${VERSION:-1.50}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}