aboutsummaryrefslogtreecommitdiff
path: root/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/GraphicsMagick/GraphicsMagick.SlackBuild')
-rw-r--r--graphics/GraphicsMagick/GraphicsMagick.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
index 5072cbbc47445..73b636ab4d549 100644
--- a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
+++ b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
@@ -41,6 +41,8 @@
# - build Tcl bindings (TclMagick)
# - document optional deps in README
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=GraphicsMagick
VERSION=${VERSION:-1.3.35}
BUILD=${BUILD:-1}
@@ -54,7 +56,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}