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-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8ab815d325c0064e12998204098708d4bb1b7b88;p=p5sagit%2Fp5-mst-13.2.git 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"