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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to