aboutsummaryrefslogtreecommitdiff
path: root/system/mpack/mpack.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/mpack/mpack.SlackBuild')
-rw-r--r--system/mpack/mpack.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/mpack/mpack.SlackBuild b/system/mpack/mpack.SlackBuild
index b4c0e9db7a61..1044f56906b6 100644
--- a/system/mpack/mpack.SlackBuild
+++ b/system/mpack/mpack.SlackBuild
@@ -28,6 +28,8 @@
# - Legacy upstream URL is gone, migrated to gitlab site.
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mpack
VERSION=${VERSION:-1.6}
BUILD=${BUILD:-2}
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}