make cythonize detection compatible with /bin/dash on ubunutu
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user