don't source profile.d in spec files
This commit is contained in:
parent
32800571d9
commit
6a0a5fee17
3 changed files with 1 additions and 14 deletions
|
@ -65,11 +65,7 @@ if [ ! -d cycler-%{_version} ]; then
|
||||||
file cycler-%{_version}
|
file cycler-%{_version}
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
source /etc/profile.d/awips2.sh
|
|
||||||
RC=$?
|
|
||||||
if [ ${RC} -ne 0 ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
cd cycler-%{_version}
|
cd cycler-%{_version}
|
||||||
/awips2/python/bin/python setup.py clean
|
/awips2/python/bin/python setup.py clean
|
||||||
RC=$?
|
RC=$?
|
||||||
|
|
|
@ -65,11 +65,6 @@ if [ ! -d Cython-%{_version} ]; then
|
||||||
file Cython-%{_version}
|
file Cython-%{_version}
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
#source /etc/profile.d/awips2.sh
|
|
||||||
RC=$?
|
|
||||||
if [ ${RC} -ne 0 ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
cd Cython-%{_version}
|
cd Cython-%{_version}
|
||||||
/awips2/python/bin/python setup.py clean
|
/awips2/python/bin/python setup.py clean
|
||||||
RC=$?
|
RC=$?
|
||||||
|
|
|
@ -41,10 +41,6 @@ if [ $? -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
cd ${__SETUP_TOOLS_UNTARRED}
|
cd ${__SETUP_TOOLS_UNTARRED}
|
||||||
source /etc/profile.d/awips2.sh
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
/awips2/python/bin/python setup.py build
|
/awips2/python/bin/python setup.py build
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue