--- trunk/mage-buildserver/buildserver-upload-smage.sh 2014/08/10 19:38:18 2733 +++ trunk/mage-buildserver/buildserver-upload-smage.sh 2014/08/28 09:01:36 2770 @@ -27,9 +27,6 @@ echo "PKG_SCP_REPO=\"${PKG_SCP_REPO}\"" >> ${BUILDROOT}/${arch}/.runrc echo "BUILD_ARCH=\"${arch}\"" >> ${BUILDROOT}/${arch}/.runrc cat >> ${BUILDROOT}/${arch}/.runrc << "EOF" -env-rebuild -source /etc/profile - if [ -f /etc/rc.d/init.d/functions ] then source /etc/rc.d/init.d/functions @@ -61,6 +58,9 @@ die "${MLIBDIR}/smage2.functions.sh not found" fi +env-rebuild +source /etc/profile + # override die function die() {