Changeset 1043 in MondoRescue for trunk/tools/mkannounce


Ignore:
Timestamp:
Jan 8, 2007, 11:31:22 PM (14 years ago)
Author:
Bruno Cornec
Message:

merge -r978:1042 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/mkannounce

    r900 r1043  
    1010dname=`dirname $0`
    1111prem=`echo $dname |cut -c1`
    12 if [ ${prem} == "/" ]; then
     12if [ _${prem} = _"/" ]; then
    1313    export TOOLHOME=$dname
    1414else
     
    3636MondoRescue $VER is now available</p>
    3737
    38 <p>I'm happy to announce the availability of a newest version of mondoescue $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>
    3939<p>
    4040Now available at <a href="ftp://ftp.mondorescue.org/">ftp://ftp.mondorescue.org/
     
    4343<p>
    4444EOF
    45 ssh ${ACCOUNT} "cd $DSTDIR ; find . -name 'm[oi]nd[io]-[0-9]$SEARCH*'" | grep -v 'src.rpm' >> $MONDOTMP/announce.tmp
     45ssh -q ${ACCOUNT} "cd $DSTDIR ; find . -name 'm[oi]nd[io]-[0-9]$SEARCH*'" | grep -v 'src.rpm' >> $MONDOTMP/announce.tmp
    4646cat >> $MONDOTMP/announce.tmp << EOF
    4747</p>
     
    5757$TOOLHOME/mkchangelog.pl announce mindi $MONDOTMP/mindi.ann
    5858$TOOLHOME/mkchangelog.pl announce mondo $MONDOTMP/mondo.ann
     59$TOOLHOME/mkchangelog.pl announce mindi-busybox $MONDOTMP/mindi-busybox.ann
    5960echo "<p>" >> $MONDOTMP/announce.tmp
    6061sed 's/$/<br>/' $MONDOTMP/mindi.ann >> $MONDOTMP/announce.tmp
    6162echo "</p><p>" >> $MONDOTMP/announce.tmp
    6263sed 's/$/<br>/' $MONDOTMP/mondo.ann >> $MONDOTMP/announce.tmp
     64echo "</p><p>" >> $MONDOTMP/announce.tmp
     65sed 's/$/<br>/' $MONDOTMP/mindi-busybox.ann >> $MONDOTMP/announce.tmp
    6366echo "</p>" >> $MONDOTMP/announce.tmp
    6467rm -f $MONDOTMP/mindi.ann $MONDOTMP/mondo.ann
     
    8588cat $MONDOTMP/announce.hdr $MONDOTMP/announce.tmp $MONDOTMP/announce.ftr | w3m -dump -T text/html > $MONDOTMP/mondo.ann.txt
    8689export 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.de
     90cat $MONDOTMP/mondo.ann.txt | mutt -s "ANNOUNCE: `head -1 $MONDOTMP/mondo.ann.txt`" mondo-devel@lists.sourceforge.net -c mondorescue-announce@lists.berlios.de
    8891rm -rf $MONDOTMP
Note: See TracChangeset for help on using the changeset viewer.