What invokes cricket on FreeBSD
Warren Block
wblock at wonkity.com
Thu Sep 3 20:45:54 UTC 2009
> 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.
Although I'd expect an error if /usr/local/bin/perl was missing. You
could change your test script to see:
/usr/bin/perl /usr/local/cricket/cricket/collect-subtrees.pl
-Warren Block * Rapid City, South Dakota USA
More information about the freebsd-questions
mailing list