What invokes cricket on FreeBSD

stan stanb at panix.com
Thu Sep 3 21:11:29 UTC 2009


On Thu, Sep 03, 2009 at 02:45:52PM -0600, Warren Block wrote:
> >On Thursday 03 September 2009 21:02:41 stan wrote:
> >
> >> pnoc# cat collect-subtrees
> >> #!/bin/sh
> >>
> >> echo STARTED >> /tmp/stan
> >> which perl >> /tmp/stan
> >> /usr/local/cricket/cricket/collect-subtrees.pl normal >> /tmp/stan
> >> echo Done >> /tmp/stan
> >>
> >> /tmp stan contains:
> >>
> >> pnoc# cat /tmp/stan
> >> STARTED
> >> /usr/bin/perl
> >> Done
> >> STARTED
> >> /usr/bin/perl
> >> Done
> 
> That 'which perl' may not really help any, since collect-subtrees runs 
> perl from /usr/local/bin/perl.
> 

Actually no:

#!/usr/bin/perl -w

That's the first line in collect-subtrees. And did you see when I added
"perl --version" to the test script?

But, I will try your sugestion, and report back.

Thanks for the ehlp.
-- 
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.


More information about the freebsd-questions mailing list