From: Jarkko Hietaniemi Date: Sun, 30 Dec 2001 16:32:11 +0000 (+0000) Subject: Must look for cat also in $PATH (noticed by Philip Newton). X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4bdb8fb53429af6417f9192cb17870e13fec0e0e;p=p5sagit%2Fp5-mst-13.2.git Must look for cat also in $PATH (noticed by Philip Newton). p4raw-id: //depot/perl@13956 --- diff --git a/Configure b/Configure index dc47dc9..c69d35a 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Sat Dec 29 20:23:06 EET 2001 [metaconfig 3.0 PL70] +# Generated on Sun Dec 30 19:31:52 EET 2001 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ </dev/null 2>&1`; then xcat=/bin/cat test -f $xcat$_exe || xcat=/usr/bin/cat if test ! -f $xcat$_exe; then - for p in $paths; do + for p in `echo $PATH | sed -e "s/$p_/ /g"` $paths; do if test -f $p/cat$_exe; then xcat=$p/cat break