aboutsummaryrefslogtreecommitdiff
path: root/libraries/lua-posix/lua-posix.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/lua-posix/lua-posix.SlackBuild')
-rw-r--r--libraries/lua-posix/lua-posix.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/lua-posix/lua-posix.SlackBuild b/libraries/lua-posix/lua-posix.SlackBuild
index e2968d0b06208..a65f01ce2f506 100644
--- a/libraries/lua-posix/lua-posix.SlackBuild
+++ b/libraries/lua-posix/lua-posix.SlackBuild
@@ -21,6 +21,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lua-posix
SRCNAM=luaposix
VERSION=${VERSION:-35.0}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}