On Sat, Oct 18, 2003 at 11:47:53PM -0400, Jack Howarth wrote:
> 2) locally I would like to find a way to automatically rebuild ALL
> installed fink packages on my machine using the Apple Aug 2003 devtools
> I have installed. Is there any clever tricks to do this with a form
> of the "fink rebuild <package>" command? I'm not sure how to
> properly script that?

If nobody gives you anything better...

#!/usr/bin/perl -w

my @installed = map { /^\s +i \s+ (\S+)/x; $1 }
                grep /^\s+i /, `fink list -i`;

print("fink rebuild @installed");
#system("fink rebuild @installed");


-- 
Michael G Schwern        [EMAIL PROTECTED]  http://www.pobox.com/~schwern/
Keep your stick on the ice.
    -- Red Green


-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to