summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
author Christoph Willing <chris.willing@iinet.net.au>2016-11-07 09:34:36 +1000
committer David Spencer <idlemoor@slackbuilds.org>2016-11-11 20:36:29 +0000
commitc4355e0a4a018ce30f3fa85a6572a0af1eca1a94 (patch)
treeec2b5fa85cd9d0aee5948192adab0b34242a706e /graphics
parentae29c16f0a1d48f42ec6c8bf1305bd61a55de1ea (diff)
downloadslackbuilds-c4355e0a4a018ce30f3fa85a6572a0af1eca1a94.tar.gz
slackbuilds-c4355e0a4a018ce30f3fa85a6572a0af1eca1a94.tar.xz
graphics/Blender: Pass command line args through wrapper
Signed-off-by: Christoph Willing <chris.willing@iinet.net.au>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Blender/Blender.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/Blender/Blender.SlackBuild b/graphics/Blender/Blender.SlackBuild
index 5965b36fe0..451ba833f4 100644
--- a/graphics/Blender/Blender.SlackBuild
+++ b/graphics/Blender/Blender.SlackBuild
@@ -25,7 +25,7 @@
SRCNAM=blender
PKGNAM=Blender
VERSION=${VERSION:-2.78}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PYTHON_VERSION=$(python3 -c "import sys; print(sys.version[:3])")
@@ -120,7 +120,7 @@ for bin in $BLENDERBINS ; do
#!/bin/sh
export PYTHONPATH=/usr/share/$SRCNAM/$VERSION/python/lib$LIBDIRSUFFIX/python$PYTHON_VERSION
export LD_LIBRARY_PATH=/usr/lib$LIBDIRSUFFIX/opencollada
-exec $bin.bin
+exec $bin.bin "\$@"
EOF
chmod 0755 $PKG/usr/bin/$bin
done