aboutsummaryrefslogtreecommitdiff
path: root/libraries/php-imagick/php-imagick.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/php-imagick/php-imagick.SlackBuild')
-rw-r--r--libraries/php-imagick/php-imagick.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/php-imagick/php-imagick.SlackBuild b/libraries/php-imagick/php-imagick.SlackBuild
index 15949b90f9cb3..7bbf7ca875866 100644
--- a/libraries/php-imagick/php-imagick.SlackBuild
+++ b/libraries/php-imagick/php-imagick.SlackBuild
@@ -24,6 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
SRCNAM=imagick
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=php-imagick
VERSION=${VERSION:-3.4.3}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}