Changeset 24877
- Timestamp:
- 05/19/20 20:00:11 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/etc/environment.sh
r24783 r24877 148 148 path_append(){ #{{{ 149 149 if [ -d "${1}" ] && [[ ":${PATH}:" != *":${1}:"* ]]; then 150 path="${1}"150 PATH_IN="${1}" 151 151 if [[ "${ISSM_ARCH}" == "cygwin-intel" ]]; then 152 path=`cygpath -u "${1}"`153 fi 154 export PATH="${PATH}:${ path}"152 PATH_IN=`cygpath -u "${1}"` 153 fi 154 export PATH="${PATH}:${PATH_IN}" 155 155 fi 156 156 } #}}} 157 157 path_prepend(){ #{{{ 158 158 if [ -d "${1}" ] && [[ ":${PATH}:" != *":${1}:"* ]]; then 159 path="${1}"159 PATH_IN="${1}" 160 160 if [[ "${ISSM_ARCH}" == "cygwin-intel" ]]; then 161 path=`cygpath -u "${1}"`162 fi 163 export PATH="${ path}:${PATH}"161 PATH_IN=`cygpath -u "${1}"` 162 fi 163 export PATH="${PATH_IN}:${PATH}" 164 164 fi 165 165 } #}}}
Note:
See TracChangeset
for help on using the changeset viewer.