Magellan Linux

Diff of /trunk/mage/usr/lib/mage/smage2.sh

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

revision 601 by niro, Mon Nov 5 17:08:33 2007 UTC revision 602 by niro, Mon Nov 5 19:05:22 2007 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.60 2007-11-05 17:08:33 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.61 2007-11-05 19:05:22 niro Exp $
8    
9  #01.10.2004  #01.10.2004
10  # added ccache support  # added ccache support
# Line 454  munpack() Line 454  munpack()
454   rpm)   rpm)
455   pushd ${BUILDDIR} > /dev/null   pushd ${BUILDDIR} > /dev/null
456   rpm2targz ${SOURCEDIR}/${PNAME}/${SRCFILE} || die "rpm2targz: .rpm unpack failed."   rpm2targz ${SOURCEDIR}/${PNAME}/${SRCFILE} || die "rpm2targz: .rpm unpack failed."
457   tar --no-same-owner -xvzf ${SRCFILE/.rpm/.tar.gz/} || die "tar: .rpm unpack failed."   tar --no-same-owner -xvzf ${SRCFILE/.rpm/.tar.gz} || die "tar: .rpm unpack failed."
458   [[ -f ${BUILDDIR}/${SRCFILE/.rpm/.tar.gz/} ]] && rm ${BUILDDIR}/${SRCFILE/.rpm/.tar.gz/}   if [[ -f ${BUILDDIR}/${SRCFILE/.rpm/.tar.gz} ]]
459     then
460     rm ${BUILDDIR}/${SRCFILE/.rpm/.tar.gz}
461     fi
462   ;;   ;;
463   *)   *)
464   die "munpack failed"   die "munpack failed"
# Line 683  build_mage_script() Line 686  build_mage_script()
686   > ${dest}   > ${dest}
687    
688   # header   # header
689   echo '# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.60 2007-11-05 17:08:33 niro Exp $' >> ${dest}   echo '# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.61 2007-11-05 19:05:22 niro Exp $' >> ${dest}
690   echo  >> ${dest}   echo  >> ${dest}
691    
692   # pgkname and state   # pgkname and state

Legend:
Removed from v.601  
changed lines
  Added in v.602