Magellan Linux

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

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

revision 201 by niro, Sun Aug 21 21:48:24 2005 UTC revision 202 by niro, Sun Aug 21 23:52:50 2005 UTC
# Line 4  Line 4 
4  # needs pkgbuild_dir (mage)  # needs pkgbuild_dir (mage)
5    
6  # SMAGE2  # SMAGE2
7  # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.32 2005-08-21 21:48:24 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.33 2005-08-21 23:52:47 niro Exp $
8    
9  #01.10.2004  #01.10.2004
10  # added ccache support  # added ccache support
# Line 512  build_mage_script() Line 512  build_mage_script()
512   > ${dest}   > ${dest}
513    
514   # header   # header
515   echo '# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.32 2005-08-21 21:48:24 niro Exp $' >> ${dest}   echo '# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.33 2005-08-21 23:52:47 niro Exp $' >> ${dest}
516   echo  >> ${dest}   echo  >> ${dest}
517    
518   # pgkname and state   # pgkname and state
# Line 746  then Line 746  then
746   exit 0   exit 0
747  fi  fi
748    
749    # regen-mage-tree
750    if [ "$1" == "only-regen-tree" -a -n "$2" ]
751    then
752     # set correct SMAGENAME
753     SMAGENAME="$2"
754     MD5DIR="$(dirname ${SMAGENAME})/md5"
755     source ${SMAGENAME} || die "regen: smage2 not found"
756    
757     regen_mage_tree
758     exit 0
759    fi
760    
761  if [ ! -e ${MLIBDIR}/pkgbuild_dir.sh ]  if [ ! -e ${MLIBDIR}/pkgbuild_dir.sh ]
762  then  then
763   die "Error: ${MLIBDIR}/pkgbuild_dir.sh not found. Aborting."   die "Error: ${MLIBDIR}/pkgbuild_dir.sh not found. Aborting."

Legend:
Removed from v.201  
changed lines
  Added in v.202