Skip to content

Commit 736b88e

Browse files
author
david
committed
replace source with ., more independent
1 parent 256a3da commit 736b88e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

bash_profile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
source ~/.bashrc
1+
. ~/.bashrc

zsh/icc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ if [ -d "/opt/intel/Compiler" ] ; then
44
if [ -r $iccvars_path ] ; then
55
case `uname -m` in
66
x86_64)
7-
source $iccvars_path intel64
7+
. $iccvars_path intel64
88
;;
99
i*86)
10-
source $iccvars_path ia32
10+
. $iccvars_path ia32
1111
;;
1212
ia64)
13-
source $iccvars_path ia64
13+
. $iccvars_path ia64
1414
;;
1515
esac
1616
fi
1717
elif [ -d "/opt/intel/cc" ] || [ -d "/opt/intel/cce" ] ; then
1818
iccvars_path=$(echo /opt/intel/cc*/(10|9).*/bin/iccvars.sh(On[1]))
1919
if [ -r $iccvars_path ] ; then
20-
source $iccvars_path
20+
. $iccvars_path
2121
fi
2222
fi

0 commit comments

Comments
 (0)