Update of /cvsroot/fink/fink/perlmod/Fink In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4665/perlmod/Fink
Modified Files: SelfUpdate.pm Log Message: error at the end Index: SelfUpdate.pm =================================================================== RCS file: /cvsroot/fink/fink/perlmod/Fink/SelfUpdate.pm,v retrieving revision 1.96 retrieving revision 1.97 diff -u -d -r1.96 -r1.97 --- SelfUpdate.pm 24 May 2005 15:47:17 -0000 1.96 +++ SelfUpdate.pm 26 May 2005 17:12:39 -0000 1.97 @@ -407,9 +407,11 @@ # first, update the top-level stuff + my $errors = 0; + $cmd = "/usr/bin/su $username -c '$cmd'" if ($username); if (&execute($cmd)) { - die "Updating using CVS failed. Check the error messages above.\n"; + $errors++; } # then, update the trees @@ -419,10 +421,12 @@ $cmd = "cvs ${verbosity} -z3 update -d -P ${tree}"; $cmd = "/usr/bin/su $username -c '$cmd'" if ($username); if (&execute($cmd)) { - die "Updating using CVS failed. Check the error messages above.\n"; + $errors++; } } + die "Updating using CVS failed. Check the error messages above.\n" if ($errors); + } ### update from packages tarball ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits