diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-21 14:46:24 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-21 14:46:24 +0000 |
commit | a931254cae96837faa9089a48103ffa0489ff64a (patch) | |
tree | 814830a051358cba2c68d0a237da1efd04966a44 /Configure | |
parent | 8e011b7da72d2334d6a86247cbfa607bb6897514 (diff) | |
download | perl-a931254cae96837faa9089a48103ffa0489ff64a.tar.gz |
Also the search for cat needs to be _exe-aware.
p4raw-id: //depot/perl@13832
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Wed Dec 19 03:25:46 EET 2001 [metaconfig 3.0 PL70] +# Generated on Fri Dec 21 17:46:40 EET 2001 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <<EOF @@ -1153,11 +1153,11 @@ if `$sh -c '#' >/dev/null 2>&1`; then shsharp=true spitshell=cat xcat=/bin/cat - test -f $xcat || xcat=/usr/bin/cat - if test ! -f $xcat; then + test -f $xcat$_exe || xcat=/usr/bin/cat + if test ! -f $xcat$_exe; then for p in $paths; do - if test -f $p/cat; then - xcat=$p/cat + if test -f $p/cat$_exe; then + xcat=$p/cat$_exe break fi done |