lkml.org 
[lkml]   [1996]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Faster depend written in Perl
Date
>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


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.079 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site