aboutsummaryrefslogtreecommitdiff
path: root/graphics/mitsuba-blender/mitsuba-blender.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/mitsuba-blender/mitsuba-blender.SlackBuild')
-rw-r--r--graphics/mitsuba-blender/mitsuba-blender.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/mitsuba-blender/mitsuba-blender.SlackBuild b/graphics/mitsuba-blender/mitsuba-blender.SlackBuild
index 06eb17b996728..24e339f5a890f 100644
--- a/graphics/mitsuba-blender/mitsuba-blender.SlackBuild
+++ b/graphics/mitsuba-blender/mitsuba-blender.SlackBuild
@@ -9,6 +9,8 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mitsuba-blender
PKGNAM=exporters_${PRGNAM}
VERSION=${VERSION:-22f799f46623}
@@ -17,7 +19,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}