aboutsummaryrefslogtreecommitdiff
path: root/graphics/yafaray-blender/yafaray-blender.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/yafaray-blender/yafaray-blender.SlackBuild')
-rw-r--r--graphics/yafaray-blender/yafaray-blender.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/yafaray-blender/yafaray-blender.SlackBuild b/graphics/yafaray-blender/yafaray-blender.SlackBuild
index 1cb710d30069e..367b6924177c8 100644
--- a/graphics/yafaray-blender/yafaray-blender.SlackBuild
+++ b/graphics/yafaray-blender/yafaray-blender.SlackBuild
@@ -28,6 +28,8 @@
#
# 1 - Initial release.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=yafaray-blender
VERSION=${VERSION:-3.2.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}