aboutsummaryrefslogtreecommitdiff
path: root/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild')
-rw-r--r--graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild b/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild
index a3c91a41a7723..4f75bb1baabf3 100644
--- a/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild
+++ b/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild
@@ -38,6 +38,8 @@
# Note to self: there's a bunch of sample images in various camera formats
# here: https://www.rawsamples.ch/index.php/en/
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=raw-thumbnailer
VERSION=${VERSION:-3.0.0}
BUILD=${BUILD:-1}
@@ -51,7 +53,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}