aboutsummaryrefslogtreecommitdiff
path: root/graphics/blender/blender.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/blender/blender.SlackBuild')
-rw-r--r--graphics/blender/blender.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/blender/blender.SlackBuild b/graphics/blender/blender.SlackBuild
index d5fb038a2d19f..622dc694e2f4d 100644
--- a/graphics/blender/blender.SlackBuild
+++ b/graphics/blender/blender.SlackBuild
@@ -26,6 +26,8 @@
# Thanks to Giorgio Peron <giorgio.peron@gmail.com> for some build tips
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=blender
VERSION=${VERSION:-2.90.1}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ case "$( uname -m )" in
*) ARCH=$( uname -m ) ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}