aboutsummaryrefslogtreecommitdiff
path: root/graphics/mozjpeg/mozjpeg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/mozjpeg/mozjpeg.SlackBuild')
-rw-r--r--graphics/mozjpeg/mozjpeg.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/mozjpeg/mozjpeg.SlackBuild b/graphics/mozjpeg/mozjpeg.SlackBuild
index 18e4067b76aab..fcb7301d99ad4 100644
--- a/graphics/mozjpeg/mozjpeg.SlackBuild
+++ b/graphics/mozjpeg/mozjpeg.SlackBuild
@@ -56,6 +56,8 @@
# - add API=7 and API=8 options
# - BUILD=2
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mozjpeg
VERSION=${VERSION:-4.0.3}
BUILD=${BUILD:-1}
@@ -69,7 +71,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}