From: H.Merijn Brand Date: Wed, 30 Mar 2005 17:03:19 +0000 (+0000) Subject: Now that we have the full path, we can skip the which call, X-Git-Tag: perl-5.9.2~24 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/8ab815d325c0064e12998204098708d4bb1b7b88?hp=1d3259712a05143b33614901d9fae89e4bbfaa3e;ds=inline Now that we have the full path, we can skip the which call, that might cause trouble on testdrive systems. p4raw-id: //depot/perl@24107 --- diff --git a/hints/hpux.sh b/hints/hpux.sh index c74b66a..7a95841 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -157,7 +157,7 @@ case `$cc -v 2>&1`"" in done [ -z "$cc_found" ] && cc_found=`which cc` what $cc_found >&4 - ccversion=`which $cc_found | xargs what | awk '/Compiler/{print $2}/Itanium/{print $6,$7}'` + ccversion=`what $cc_found | awk '/Compiler/{print $2}/Itanium/{print $6,$7}'` case "$ccflags" in "-Ae "*) ;; *) ccflags="-Ae $cc_cppflags"