Magellan Linux

Diff of /trunk/mage-buildserver/buildserver-upload-smage.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2769 by niro, Sun Aug 10 19:38:18 2014 UTC revision 2770 by niro, Thu Aug 28 09:01:36 2014 UTC
# Line 27  do Line 27  do
27   echo "PKG_SCP_REPO=\"${PKG_SCP_REPO}\"" >> ${BUILDROOT}/${arch}/.runrc   echo "PKG_SCP_REPO=\"${PKG_SCP_REPO}\"" >> ${BUILDROOT}/${arch}/.runrc
28   echo "BUILD_ARCH=\"${arch}\"" >> ${BUILDROOT}/${arch}/.runrc   echo "BUILD_ARCH=\"${arch}\"" >> ${BUILDROOT}/${arch}/.runrc
29  cat >> ${BUILDROOT}/${arch}/.runrc << "EOF"  cat >> ${BUILDROOT}/${arch}/.runrc << "EOF"
 env-rebuild  
 source /etc/profile  
   
30  if [ -f /etc/rc.d/init.d/functions ]  if [ -f /etc/rc.d/init.d/functions ]
31  then  then
32   source /etc/rc.d/init.d/functions   source /etc/rc.d/init.d/functions
# Line 61  else Line 58  else
58   die "${MLIBDIR}/smage2.functions.sh not found"   die "${MLIBDIR}/smage2.functions.sh not found"
59  fi  fi
60    
61    env-rebuild
62    source /etc/profile
63    
64  # override die function  # override die function
65  die()  die()
66  {  {

Legend:
Removed from v.2769  
changed lines
  Added in v.2770