summaryrefslogtreecommitdiffstats
path: root/development/lua53/lua53.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/lua53/lua53.SlackBuild')
-rw-r--r--development/lua53/lua53.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/lua53/lua53.SlackBuild b/development/lua53/lua53.SlackBuild
index 59d41c810c..f598e513f4 100644
--- a/development/lua53/lua53.SlackBuild
+++ b/development/lua53/lua53.SlackBuild
@@ -24,6 +24,8 @@
# Some of the codes were taken from development/lua/lua.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lua53
SRCNAM=${PRGNAM%??}
VERSION=${VERSION:-5.3.4}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}