Changeset 651 in MondoRescue for branches/stable/tools/svn2build
- Timestamp:
- Jun 8, 2006, 12:56:31 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/tools/svn2build
r636 r651 54 54 55 55 ddd=`LANG=C ; date '+%Y-%m-%d'` 56 cat > /tmp/mondorescue.mc << EOF56 cat > $TMP/mondorescue.mc << EOF 57 57 define(\`TTT', ${TAG})dnl 58 58 define(\`RRR', ${TAG}${suf})dnl … … 72 72 fi 73 73 echo "Using $inc customization to build SPEC file" 74 m4 /tmp/mondorescue.mc $inc $dest/distributions/rpm/$p.spec > $dest/distributions/${ddir}-$dver/$p.spec74 m4 $TMP/mondorescue.mc $inc $dest/distributions/rpm/$p.spec > $dest/distributions/${ddir}-$dver/$p.spec 75 75 76 $TOOLHOME/mkchangelog.pl $dtype $p $ dest/distributions/${ddir}-$dver/$p.spec76 $TOOLHOME/mkchangelog.pl $dtype $p $TMP/$p.spec 77 77 if [ $? -ne 0 ]; then 78 78 echo "Unable to create changelog for ${ddir}-$dver/$p.spec" 79 79 exit -1 80 80 fi 81 82 ddate=`LANG=C ; date "+%a %b %d %Y"` 83 cat > $dest/distributions/${ddir}-$dver/$p.changelog.new << EOF 84 * $ddate Bruno Cornec <bruno@mondorescue.org> VVV-RRR 85 - Updated to VVV-r${REVISION} 86 87 EOF 81 cat $TMP/$p.spec >> $dest/distributions/${ddir}-$dver/$p.spec 82 rm -f $TMP/$p.spec 88 83 elif [ "$dtype" = "ebuild" ]; then 89 m4 /tmp/mondorescue.mc $dest/distributions/$dfam/$p.ebuild > $dest/distributions/${ddir}-$dver/$p-$v-r$TAG.ebuild84 m4 $TMP/mondorescue.mc $dest/distributions/$dfam/$p.ebuild > $dest/distributions/${ddir}-$dver/$p-$v-r$TAG.ebuild 90 85 elif [ "$dtype" = "deb" ]; then 91 86 # To be developped 92 m4 /tmp/mondorescue.mc $dest/distributions/$dfam/$p > /dev/null87 m4 $TMP/mondorescue.mc $dest/distributions/$dfam/$p > /dev/null 93 88 else 94 89 echo "Unknown Build" … … 99 94 cd $dest 100 95 for f in mondorescue-howto.sgml *8; do 101 m4 /tmp/mondorescue.mc $f > ${f}.new96 m4 $TMP/mondorescue.mc $f > ${f}.new 102 97 mv ${f}.new $f 103 98 done … … 139 134 done 140 135 141 rm -f /tmp/mondorescue.mc136 rm -f $TMP/mondorescue.mc 142 137 143 138 echo "Version delivered :"
Note:
See TracChangeset
for help on using the changeset viewer.