Changeset 1043 in MondoRescue for trunk/tools/mkannounce
- Timestamp:
- Jan 8, 2007, 11:31:22 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/mkannounce
r900 r1043 10 10 dname=`dirname $0` 11 11 prem=`echo $dname |cut -c1` 12 if [ ${prem} =="/" ]; then12 if [ _${prem} = _"/" ]; then 13 13 export TOOLHOME=$dname 14 14 else … … 36 36 MondoRescue $VER is now available</p> 37 37 38 <p>I'm happy to announce the availability of a newest version of mondo escue $VER. Enjoy it as usual!</p>38 <p>I'm happy to announce the availability of a newest version of mondorescue $VER. Enjoy it as usual!</p> 39 39 <p> 40 40 Now available at <a href="ftp://ftp.mondorescue.org/">ftp://ftp.mondorescue.org/ … … 43 43 <p> 44 44 EOF 45 ssh ${ACCOUNT} "cd $DSTDIR ; find . -name 'm[oi]nd[io]-[0-9]$SEARCH*'" | grep -v 'src.rpm' >> $MONDOTMP/announce.tmp45 ssh -q ${ACCOUNT} "cd $DSTDIR ; find . -name 'm[oi]nd[io]-[0-9]$SEARCH*'" | grep -v 'src.rpm' >> $MONDOTMP/announce.tmp 46 46 cat >> $MONDOTMP/announce.tmp << EOF 47 47 </p> … … 57 57 $TOOLHOME/mkchangelog.pl announce mindi $MONDOTMP/mindi.ann 58 58 $TOOLHOME/mkchangelog.pl announce mondo $MONDOTMP/mondo.ann 59 $TOOLHOME/mkchangelog.pl announce mindi-busybox $MONDOTMP/mindi-busybox.ann 59 60 echo "<p>" >> $MONDOTMP/announce.tmp 60 61 sed 's/$/<br>/' $MONDOTMP/mindi.ann >> $MONDOTMP/announce.tmp 61 62 echo "</p><p>" >> $MONDOTMP/announce.tmp 62 63 sed 's/$/<br>/' $MONDOTMP/mondo.ann >> $MONDOTMP/announce.tmp 64 echo "</p><p>" >> $MONDOTMP/announce.tmp 65 sed 's/$/<br>/' $MONDOTMP/mindi-busybox.ann >> $MONDOTMP/announce.tmp 63 66 echo "</p>" >> $MONDOTMP/announce.tmp 64 67 rm -f $MONDOTMP/mindi.ann $MONDOTMP/mondo.ann … … 85 88 cat $MONDOTMP/announce.hdr $MONDOTMP/announce.tmp $MONDOTMP/announce.ftr | w3m -dump -T text/html > $MONDOTMP/mondo.ann.txt 86 89 export EMAIL="bruno@mondorescue.org" 87 cat $MONDOTMP/mondo.ann.txt | mutt -s " `head -1 $MONDOTMP/mondo.ann.txt`" mondo-devel@lists.sourceforge.net -c mondorescue-announce@lists.berlios.de90 cat $MONDOTMP/mondo.ann.txt | mutt -s "ANNOUNCE: `head -1 $MONDOTMP/mondo.ann.txt`" mondo-devel@lists.sourceforge.net -c mondorescue-announce@lists.berlios.de 88 91 rm -rf $MONDOTMP
Note:
See TracChangeset
for help on using the changeset viewer.