aboutsummaryrefslogtreecommitdiff
path: root/graphics/unpaper
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/unpaper')
-rw-r--r--graphics/unpaper/unpaper.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/unpaper/unpaper.SlackBuild b/graphics/unpaper/unpaper.SlackBuild
index 0773fa67cd51..94f06ae15913 100644
--- a/graphics/unpaper/unpaper.SlackBuild
+++ b/graphics/unpaper/unpaper.SlackBuild
@@ -36,6 +36,8 @@
# - The ffmpeg dep can be removed once 15.0 ships, as it will be
# shipped wth the distro.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=unpaper
VERSION=${VERSION:-6.1}
BUILD=${BUILD:-1}
@@ -49,7 +51,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}