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
1 changed files with 1 additions and 1 deletions

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 \