graphics/mitsuba: Script cleanup.

$[...] is a deprecated bashism, MAKEOPTS is a Gentooism.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2017-01-24 00:06:11 +00:00
parent ce5bff46e2
commit e6ba782e2e

View file

@ -60,7 +60,7 @@ sed -i "s%/usr/lib/%/usr/lib${LIBDIRSUFFIX}/%" data/cmake/FindGLEW.cmake
cd build
cp config-linux-gcc.py ../config.py
DISTDIR=$PKG scons --jobs=$[${MAKEOPTS/-j/} - 1] -C .. prefix=$PKG/usr
DISTDIR=$PKG scons -C .. prefix=$PKG/usr
install -d \
${PKG}/usr/bin \