aboutsummaryrefslogtreecommitdiff
path: root/development/lua
diff options
context:
space:
mode:
Diffstat (limited to 'development/lua')
-rw-r--r--development/lua/lua.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/lua/lua.SlackBuild b/development/lua/lua.SlackBuild
index a087e8a7d0474..e331a1306b806 100644
--- a/development/lua/lua.SlackBuild
+++ b/development/lua/lua.SlackBuild
@@ -11,6 +11,8 @@
# Granted WTFPL, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lua
VERSION=${VERSION:-5.1.5}
BUILD=${BUILD:-1}
@@ -24,7 +26,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}