Changeset 764 in MondoRescue for trunk/tools/svn2build


Ignore:
Timestamp:
Aug 8, 2006, 12:34:37 AM (18 years ago)
Author:
Bruno Cornec
Message:

merge -r728:763 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/svn2build

    r729 r764  
    66#
    77
     8(
    89dname=`dirname $0`
    910prem=`echo $dname |cut -c1`
     
    8283            rm -f $TMP/$p.spec
    8384        elif [ "$dtype" = "ebuild" ]; then
    84             m4 $TMP/mondorescue.mc $dest/distributions/$dfam/$p.ebuild > $dest/distributions/${ddir}-$dver/$p-$v-r$TAG.ebuild
     85            m4 $TMP/mondorescue.mc $dest/distributions/$dfam/$p.ebuild > $dest/distributions/${ddir}-$dver/$p-$v.ebuild
    8586        elif [ "$dtype" = "deb" ]; then
    8687            # To be developped
    8788            #m4 $TMP/mondorescue.mc $dest/distributions/$dfam/$p > /dev/null
    8889            cp -a $dest/distributions/$ddir/* $dest/distributions/${ddir}-$dver
     90            m4 $TMP/mondorescue.mc $dest/distributions/$ddir/rules > $dest/distributions/${ddir}-$dver/rules
    8991            $TOOLHOME/mkchangelog.pl $dtype $p $dest/distributions/${ddir}-$dver/changelog
    9092            if [ $? -ne 0 ]; then
     
    135137    # Finally creates the tar files
    136138    echo "Creating $p tar files"
    137     tar cfhz ${DEST}/$p-$v-$TAG.tar.gz $dest
    138     #gzip -cd ${DEST}/$p-$v-$TAG.tar.gz | bzip2 -c3 > ${DEST}/$p-$v-$TAG.tar.bz2
    139     #tar cfhj ${DEST}/$p-$v-$TAG.tar.bz2 $dest
     139    tar cfphz ${DEST}/$p-$v.tar.gz $dest
     140    tar cfphj ${DEST}/$p-$v-$TAG.tar.bz2 $dest
    140141done
    141142
     
    148149echo "${VER}-$TAG" > ${TOPDIR}/LAST
    149150exit 0
     151) 2>&1 | tee /tmp/svn2build.log
Note: See TracChangeset for help on using the changeset viewer.