summaryrefslogtreecommitdiffstats
path: root/libraries/raptor/raptor.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/raptor/raptor.SlackBuild')
-rw-r--r--libraries/raptor/raptor.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/raptor/raptor.SlackBuild b/libraries/raptor/raptor.SlackBuild
index 91327a31ee..f719eb460b 100644
--- a/libraries/raptor/raptor.SlackBuild
+++ b/libraries/raptor/raptor.SlackBuild
@@ -24,6 +24,8 @@
# some stuff is "inspired" by the official ex-raptor{,2}.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=raptor
VERSION=${VERSION:-2.0.15}
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}