From f8ee5cb15dac746c91ee29c795eb3eeca1e928b6 Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Fri, 12 Dec 2008 00:51:59 -0600 Subject: [PATCH] fixed icc problems, would not play nice on the mac --- zsh/icc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/zsh/icc b/zsh/icc index 97e8502..69743ee 100755 --- a/zsh/icc +++ b/zsh/icc @@ -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