Former-commit-id:d537df4ab0
[formerly4453ad2d10
] [formerly 9a1c04ec5f94674baf45e393882ffe09f7582171 [formerly65e1e4ee0b
]] [formerlyea1c82452b
[formerly65e1e4ee0b
[formerly 56068aa96fa6daf113861476bf4b7aebe2021ca4]]] Former-commit-id:ea1c82452b
Former-commit-id: e63dac039e52161602915d3cf34685762acd5d9e [formerly7f1b468010
] Former-commit-id:9f6780c4dd
17 lines
321 B
Bash
17 lines
321 B
Bash
#!/bin/bash
|
|
|
|
GFESUITE_PATH="/awips2/GFESuite/bin"
|
|
|
|
# Verify existence
|
|
if [ ! -d ${GFESUITE_PATH} ]; then
|
|
return
|
|
fi
|
|
|
|
# Ensure that it is not already in the path
|
|
CHECK_PATH=`echo ${PATH} | grep ${GFESUITE_PATH}`
|
|
if [ ! "${CHECK_PATH}" = "" ]; then
|
|
return
|
|
fi
|
|
|
|
# Add it to the path
|
|
export PATH=${GFESUITE_PATH}:${PATH}
|