Magellan Linux

Diff of /branches/mage-next/src/smage2.sh

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

revision 1575 by niro, Wed Dec 28 10:49:37 2011 UTC revision 1577 by niro, Wed Dec 28 10:51:52 2011 UTC
# Line 329  src_prepare() Line 329  src_prepare()
329  }  }
330    
331  # dummy function, used if that does not exist in smage file  # dummy function, used if that does not exist in smage file
332  src_check()  src_compile()
333  {  {
334   echo "no src_check defined"   echo "no src_compile defined"
335   return 0   return 0
336  }  }
337    
338  # dummy function, used if that does not exist in smage file  # dummy function, used if that does not exist in smage file
339  src_compile()  src_check()
340  {  {
341   echo "no src_compile defined"   echo "no src_check defined"
342   return 0   return 0
343  }  }
344    
# Line 1495  then Line 1495  then
1495   rm -rf ${BUILDDIR}/${PKGNAME}   rm -rf ${BUILDDIR}/${PKGNAME}
1496  fi  fi
1497    
 # cleans up timestamp if one exists  
 if [ -f /var/tmp/timestamp ]  
 then  
  mage rmstamp  
 fi  
   
1498  # setup build logging  # setup build logging
1499  [[ ! -d /var/log/smage ]] && install -d /var/log/smage  [[ ! -d /var/log/smage ]] && install -d /var/log/smage
1500  echo -e "### Build started on $(date) ###\n" > /var/log/smage/${PKGNAME}.log  echo -e "### Build started on $(date) ###\n" > /var/log/smage/${PKGNAME}.log

Legend:
Removed from v.1575  
changed lines
  Added in v.1577