Changeset 764 in MondoRescue for trunk/tools/svn2build
- Timestamp:
- Aug 8, 2006, 12:34:37 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/svn2build
r729 r764 6 6 # 7 7 8 ( 8 9 dname=`dirname $0` 9 10 prem=`echo $dname |cut -c1` … … 82 83 rm -f $TMP/$p.spec 83 84 elif [ "$dtype" = "ebuild" ]; then 84 m4 $TMP/mondorescue.mc $dest/distributions/$dfam/$p.ebuild > $dest/distributions/${ddir}-$dver/$p-$v -r$TAG.ebuild85 m4 $TMP/mondorescue.mc $dest/distributions/$dfam/$p.ebuild > $dest/distributions/${ddir}-$dver/$p-$v.ebuild 85 86 elif [ "$dtype" = "deb" ]; then 86 87 # To be developped 87 88 #m4 $TMP/mondorescue.mc $dest/distributions/$dfam/$p > /dev/null 88 89 cp -a $dest/distributions/$ddir/* $dest/distributions/${ddir}-$dver 90 m4 $TMP/mondorescue.mc $dest/distributions/$ddir/rules > $dest/distributions/${ddir}-$dver/rules 89 91 $TOOLHOME/mkchangelog.pl $dtype $p $dest/distributions/${ddir}-$dver/changelog 90 92 if [ $? -ne 0 ]; then … … 135 137 # Finally creates the tar files 136 138 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 140 141 done 141 142 … … 148 149 echo "${VER}-$TAG" > ${TOPDIR}/LAST 149 150 exit 0 151 ) 2>&1 | tee /tmp/svn2build.log
Note:
See TracChangeset
for help on using the changeset viewer.