aboutsummaryrefslogtreecommitdiff
path: root/system/lzop/lzop.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/lzop/lzop.SlackBuild')
-rw-r--r--system/lzop/lzop.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/lzop/lzop.SlackBuild b/system/lzop/lzop.SlackBuild
index 8a2a46fe8ac1b..f08c047984c05 100644
--- a/system/lzop/lzop.SlackBuild
+++ b/system/lzop/lzop.SlackBuild
@@ -28,6 +28,8 @@
# 20200129 bkw: take over maintenance, simplify build, remove some cruft.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lzop
VERSION=${VERSION:-1.04}
BUILD=${BUILD:-1}
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}