diff --git a/src/ML-IAP/Install.sh b/src/ML-IAP/Install.sh index 3ee8a1360a..753dfae358 100755 --- a/src/ML-IAP/Install.sh +++ b/src/ML-IAP/Install.sh @@ -69,7 +69,7 @@ elif (test $1 = 0) then sed -i -e '/^include.*python.*mliap_python.*$/d' ../Makefile.package.settings elif (test $1 = 2) then - if (test "$(type cythonize 2> /dev/null)" != "" && test -e ../python_impl.cpp) then + if (type cythonize 2>&1 > /dev/null && test -e ../python_impl.cpp) then if (test -e ../Makefile.package) then sed -i -e 's/[^ \t]*-DMLIAP_PYTHON[^ \t]* //g' ../Makefile.package fi