]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.63
authorfred <fred>
Sun, 24 Mar 2002 19:43:13 +0000 (19:43 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:43:13 +0000 (19:43 +0000)
bin/show-latest

index 7aacb57ff66b74cf98558bc6f56211b6943ad45a..066a26fe3b5d0d400271dbfd0eec3e486dcfa0b0 100644 (file)
@@ -1,6 +1,10 @@
 #!/usr/bin/perl
+
+
 $reldir="~/musix/releases";
 
+use FileHandle;
+
 sub  cmpver 
 {      
 
@@ -26,8 +30,14 @@ while (<LS>) {
 
 @versions = sort cmpver @versions;
 my $last= (pop @versions);
-print $last;
 
-system "rm $reldir/zZ*";
 
+system "rm $reldir/zZ*";
 system  "> $reldir/zZ_LATEST_IS_$last";
+
+open NEWS, "tar --to-stdout  -zxf $reldir/lilypond-$last.tar.gz lilypond-$last/NEWS |";
+input_record_separator NEWS "****";
+$desc = <NEWS>;
+chop ($desc);
+close NEWS;
+    print $desc;