aboutsummaryrefslogtreecommitdiff
path: root/graphics/yafaray/yafaray.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/yafaray/yafaray.SlackBuild')
-rw-r--r--graphics/yafaray/yafaray.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/yafaray/yafaray.SlackBuild b/graphics/yafaray/yafaray.SlackBuild
index cc3701c6bc89e..8e99d4d642a75 100644
--- a/graphics/yafaray/yafaray.SlackBuild
+++ b/graphics/yafaray/yafaray.SlackBuild
@@ -31,6 +31,8 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=yafaray
VERSION=${VERSION:-3.2.0}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}