[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

RE: [MacPerl-Porters] On with the show; Volunteers Wanted!



Larry Moore wrote:

> At 17:49 -0700 7/05/2000, Prymmer/Kahn wrote:
> >On Fri, 5 May 2000 PVHP@forte.com wrote:
> ftp://shell8.ba.best.com/pub/pvhp/public_html/mac/macperl5.6.0/Configure.MPW
> missing file report seems to be off? All but one of them are in MPW:Tools:
> 
> files -l BuildProgram
> files -l BuildCommands
> files -l Count
> files -l DeRez
> files -l Gestalt
> files -l GetFileName
> files -l GetListItem
> files -l MakeStub
> files -l Search
> files -l Rez

IIRC it uses the return of "`which {tool}`" to ascertain whether
you've got it.  Could it be that {MPW}:Tools: is for some reason 
not on your Command path?  Thanks for the feedback.

Here is the relevant code:

For tool in BuildProgram BuildCommands Count DeRez Gestalt GetFileName GetListItem MakeStub Search Rez
    Set which_tool "`Which {tool} > Dev:Null`"
    If {Status} != 0 OR !"{which_tool}"
        Echo {tool} >> {missing}
        Echo "# {tool} is missing"
    End
End

BTW the list of tools/scripts/etc that is checked is 
not necessarily complete.  Suggestions on what to add
and/or conditionals regarding what to remove would be
most welcome.  Thanks.

Peter Prymmer



==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-porters-request@macperl.org