don't source profile.d in spec files

This commit is contained in:
mjames-upc 2017-10-26 20:33:06 -06:00
parent 32800571d9
commit 6a0a5fee17
3 changed files with 1 additions and 14 deletions

View file

@ -65,11 +65,7 @@ if [ ! -d cycler-%{_version} ]; then
file cycler-%{_version}
exit 1
fi
source /etc/profile.d/awips2.sh
RC=$?
if [ ${RC} -ne 0 ]; then
exit 1
fi
cd cycler-%{_version}
/awips2/python/bin/python setup.py clean
RC=$?

View file

@ -65,11 +65,6 @@ if [ ! -d Cython-%{_version} ]; then
file Cython-%{_version}
exit 1
fi
#source /etc/profile.d/awips2.sh
RC=$?
if [ ${RC} -ne 0 ]; then
exit 1
fi
cd Cython-%{_version}
/awips2/python/bin/python setup.py clean
RC=$?

View file

@ -41,10 +41,6 @@ if [ $? -ne 0 ]; then
exit 1
fi
cd ${__SETUP_TOOLS_UNTARRED}
source /etc/profile.d/awips2.sh
if [ $? -ne 0 ]; then
exit 1
fi
/awips2/python/bin/python setup.py build
if [ $? -ne 0 ]; then
exit 1