Update of /cvsroot/fink/fink/perlmod/Fink
In directory sc8-pr-cvs17:/tmp/cvs-serv20094

Modified Files:
        Bootstrap.pm ChangeLog 
Log Message:
in modify_description, wrap the file in Info4, unless $distribution =
10.3 or 10.4


Index: Bootstrap.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/Bootstrap.pm,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -d -r1.160 -r1.161
--- Bootstrap.pm        24 Oct 2007 15:48:22 -0000      1.160
+++ Bootstrap.pm        24 Oct 2007 17:59:59 -0000      1.161
@@ -808,6 +808,8 @@
 $distribution as the value of %{Distribution}.  Append $coda to the end 
 of the file.
 
+Wrap the file in Info4, unless $distribution = 10.3 or 10.4.
+
 Returns 0 on success, 1 on failure.
 
 Called by copy_description() and scripts/srcdist/dist-module.pl .
@@ -834,6 +836,7 @@
 
        open(IN,$original) or die "can't open $original: $!";
        open(OUT,">$target") or die "can't write $target: $!";
+       print OUT "Info4: <<\n" unless (($distribution eq "10.3") or 
($distribution eq "10.4"));
        while (<IN>) {
                chomp;
                $_ =~ s/[EMAIL PROTECTED]@/$version/;
@@ -856,6 +859,7 @@
        }
        close(IN);
        print OUT "$coda\n";
+       print OUT "<<\n" unless (($distribution eq "10.3") or ($distribution eq 
"10.4"));
        close(OUT);
 
        return $result;

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1511
retrieving revision 1.1512
diff -u -d -r1.1511 -r1.1512
--- ChangeLog   24 Oct 2007 15:48:22 -0000      1.1511
+++ ChangeLog   24 Oct 2007 17:59:59 -0000      1.1512
@@ -2,7 +2,8 @@
 
        * Bootstrap.pm: recognize 10.5.0, but with a warning about upgrades
        * Bootstrap.pm: in modify_description, make a substitution on
-       @DISTRIBUTION@; use readlink() to determine the distribution when
+       @DISTRIBUTION@, and wrap the file in Info4, unless $distribution = 
+       10.3 or 10.4.  Also, use readlink() to determine the distribution when
        running scripts
 
 2007-10-23  Dave Morrison  <[EMAIL PROTECTED]>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to