Mercurial > index.cgi > dotfiles
comparison .bashrc @ 9:09e941fe3c02
Added Condor's sbin path
author | huston@80426f53-59d1-405d-934b-f07cd76f4a1a |
---|---|
date | Tue, 28 Apr 2009 17:16:40 +0000 |
parents | 3d0de329a850 |
children | dacbbae5965c |
comparison
equal
deleted
inserted
replaced
8:aa5e55aa62ef | 9:09e941fe3c02 |
---|---|
83 # Add-ons for Intel compilers at work, and Condor | 83 # Add-ons for Intel compilers at work, and Condor |
84 [[ -f /usr/peyton/intel/10.1/cc64/bin/iccvars.sh ]] && \ | 84 [[ -f /usr/peyton/intel/10.1/cc64/bin/iccvars.sh ]] && \ |
85 . /usr/peyton/intel/10.1/cc64/bin/iccvars.sh | 85 . /usr/peyton/intel/10.1/cc64/bin/iccvars.sh |
86 [[ -f /usr/peyton/intel/10.1/fc64/bin/ifortvars.sh ]] && \ | 86 [[ -f /usr/peyton/intel/10.1/fc64/bin/ifortvars.sh ]] && \ |
87 . /usr/peyton/intel/10.1/fc64/bin/ifortvars.sh | 87 . /usr/peyton/intel/10.1/fc64/bin/ifortvars.sh |
88 [[ -f /u/condor/condor-setup.sh ]] && \ | 88 [[ -f /u/condor/condor-setup.sh ]] && { |
89 export PATH=${PATH:+$PATH:}/u/condor/hosts/`hostname -s`/sbin | |
89 . /u/condor/condor-setup.sh | 90 . /u/condor/condor-setup.sh |
91 } | |
90 | 92 |
91 # Now make sure $HOME/bin is top of the list (or at least present) | 93 # Now make sure $HOME/bin is top of the list (or at least present) |
92 if [ -d $HOME/bin ]; then | 94 if [ -d $HOME/bin ]; then |
93 [[ "$PATH" =~ "(^|:)$HOME/bin($|:)" ]] || \ | 95 [[ "$PATH" =~ "(^|:)$HOME/bin($|:)" ]] || \ |
94 export PATH=$HOME/bin${PATH:+:$PATH} | 96 export PATH=$HOME/bin${PATH:+:$PATH} |