Permalink
Browse files

zsh/icc does a better job of checking for existance of icc

  • Loading branch information...
1 parent f5df735 commit 456dcf255d7001040c864e84bf91203ad04481ec @majnemer committed Jan 3, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 zsh/icc
View
@@ -14,7 +14,7 @@ if [[ -d "/opt/intel/Compiler" ]] ; then
;;
esac
fi
-else
+elif [[ -d "/opt/intel/cc" ]] || [[ -d "/opt/intel/cce" ]] ; then
iccvars_path=$(echo /opt/intel/cc*/(10|9).*/bin/iccvars.sh(On[1]))
if [[ -r $iccvars_path ]] ; then
source $iccvars_path

0 comments on commit 456dcf2

Please sign in to comment.