aboutsummaryrefslogtreecommitdiff
path: root/libraries/gl2ps/gl2ps.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/gl2ps/gl2ps.SlackBuild')
-rw-r--r--libraries/gl2ps/gl2ps.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/gl2ps/gl2ps.SlackBuild b/libraries/gl2ps/gl2ps.SlackBuild
index 7a552e84b168..b12e2e71f2cf 100644
--- a/libraries/gl2ps/gl2ps.SlackBuild
+++ b/libraries/gl2ps/gl2ps.SlackBuild
@@ -24,6 +24,8 @@
# revision date 2012/09/14
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gl2ps
VERSION=${VERSION:-1.3.7}
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}