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