fix 'csh' detection

This commit is contained in:
Thomas Pöchtrager 2014-04-06 22:51:39 +02:00
parent f8e57bfcd3
commit f969ed09db

View File

@ -339,8 +339,8 @@ if [ `echo "${SDK_VERSION/u/}>=10.7" | bc -l` -eq 1 ]; then
fi fi
set +e set +e
which csh &>/dev/null
HAVE_CSH=0 HAVE_CSH=0
which csh &>/dev/null
[ $? -eq 0 ] && HAVE_CSH=1 [ $? -eq 0 ] && HAVE_CSH=1
if [ $HAVE_CSH -eq 0 ]; then if [ $HAVE_CSH -eq 0 ]; then