Magellan Linux

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

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

branches/mage-next/usr/lib/mage/smage2.sh revision 2525 by niro, Wed Jan 29 10:42:21 2014 UTC branches/mage-next/src/smage2.in revision 2614 by niro, Tue Mar 4 15:27:52 2014 UTC
# Line 23  export PATH="${PATH}:${MLIBDIR}" Line 23  export PATH="${PATH}:${MLIBDIR}"
23    
24  ## setup ##  ## setup ##
25  SMAGENAME="$1"  SMAGENAME="$1"
 SMAGEVERSION="$(< ${MLIBDIR}/version)"  
26    
27  # expand PKGDIR, BUILDDIR and BINDIR with MROOT  # expand PKGDIR, BUILDDIR and BINDIR with MROOT
28  if [[ -n ${MROOT} ]]  if [[ -n ${MROOT} ]]
# Line 268  SMAGE_LOG_CMD="tee -a /var/log/smage/${P Line 267  SMAGE_LOG_CMD="tee -a /var/log/smage/${P
267  xtitle "Compiling ${PKGNAME}"  xtitle "Compiling ${PKGNAME}"
268  echo -e "${COLGREEN}Compiling ${PKGNAME}${COLDEFAULT}"  echo -e "${COLGREEN}Compiling ${PKGNAME}${COLDEFAULT}"
269    
 # auto regen mage tree if requested  
 regen_mage_tree  
   
270  if mqueryfeature "srcpkgbuild"  if mqueryfeature "srcpkgbuild"
271  then  then
272   if [[ -d ${SOURCEDIR}/${PNAME} ]]   if [[ -d ${SOURCEDIR}/${PNAME} ]]
# Line 768  else Line 764  else
764   fi   fi
765  fi  fi
766    
767    # auto regen mage tree if requested
768    regen_mage_tree
769    
770  if mqueryfeature "buildlog"  if mqueryfeature "buildlog"
771  then  then
772   bzip2 -9f /var/log/smage/${PKGNAME}.log   bzip2 -9f /var/log/smage/${PKGNAME}.log

Legend:
Removed from v.2525  
changed lines
  Added in v.2614