diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-30 16:32:11 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-30 16:32:11 +0000 |
commit | 8c8f478f63cfef7c2e8b08efccf4cb4f941e21ae (patch) | |
tree | c5e16317b258fe59b0a0644943f4351abc127bec /Configure | |
parent | b6b58f141bbbdb38ffb2a16fb51074761adc2fd0 (diff) | |
download | perl-8c8f478f63cfef7c2e8b08efccf4cb4f941e21ae.tar.gz |
Must look for cat also in $PATH (noticed by Philip Newton).
p4raw-id: //depot/perl@13956
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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$$ <<EOF @@ -1159,7 +1159,7 @@ if `$sh -c '#' >/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 |