aboutsummaryrefslogtreecommitdiff
path: root/libraries/libcapsimage/libcapsimage.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libcapsimage/libcapsimage.SlackBuild')
-rw-r--r--libraries/libcapsimage/libcapsimage.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libcapsimage/libcapsimage.SlackBuild b/libraries/libcapsimage/libcapsimage.SlackBuild
index 4878d5a31df84..62f87d26d7406 100644
--- a/libraries/libcapsimage/libcapsimage.SlackBuild
+++ b/libraries/libcapsimage/libcapsimage.SlackBuild
@@ -29,6 +29,8 @@
# If you do use this as a dependency for your build, let me know, I'm
# interested.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libcapsimage
VERSION=${VERSION:-5.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}