fixed icc problems, would not play nice on the mac

This commit is contained in:
David Majnemer 2008-12-12 00:51:59 -06:00
parent 3908dd9565
commit f8ee5cb15d

View file

@ -13,11 +13,7 @@ if [[ -r $iccvars_path ]] ; then
;;
esac
else
if [[ `uname -m` == x86_64 ]] ; then
iccvars_path=$(echo /opt/intel/cce/(10|9).*/bin/iccvars.sh(On[1]))
else
iccvars_path=$(echo /opt/intel/cc/(10|9).*/bin/iccvars.sh(On[1]))
fi
iccvars_path=$(echo /opt/intel/cc*/(10|9).*/bin/iccvars.sh(On[1]))
if [[ -r $iccvars_path ]] ; then
source $iccvars_path
fi