awips2/rpms/common/environment/awips2-gfesuite/profile.d/awips2GFESuite.sh
Bryan Kowal ea1c82452b Issue #202 - restoring rpm directory to ss_sync.
Former-commit-id: 56068aa96fa6daf113861476bf4b7aebe2021ca4
2012-01-20 13:38:00 -06:00

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}