Re: Faster depend written in Perl

Zefram (A.Main@dcs.warwick.ac.uk)
Mon, 29 Jul 1996 19:55:48 +0100 (BST)


>test whether /usr/bin/perl exists and to set DEPEND

Assuming it's in /usr/bin.

>make the test 'if [ -x `which perl` ]'.

Assuming the shell supports which.

What's wrong with just trying to run perl? $PATH is surprisingly (or
not if you have some common sense) helpful for this sort of thing.

-zefram