aboutsummaryrefslogtreecommitdiff
path: root/graphics/jpeg2ps
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/jpeg2ps')
-rw-r--r--graphics/jpeg2ps/jpeg2ps.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/jpeg2ps/jpeg2ps.SlackBuild b/graphics/jpeg2ps/jpeg2ps.SlackBuild
index cef08282eb302..38f965b41ccbd 100644
--- a/graphics/jpeg2ps/jpeg2ps.SlackBuild
+++ b/graphics/jpeg2ps/jpeg2ps.SlackBuild
@@ -12,6 +12,8 @@
# particular purpose. This software is provided as is, and you assume all risks
# when using it.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jpeg2ps
VERSION=${VERSION:-1.9}
BUILD=${BUILD:-1}
@@ -25,7 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}