summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2005-03-30 17:03:19 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2005-03-30 17:03:19 +0000
commit8ab815d325c0064e12998204098708d4bb1b7b88 (patch)
treee1c572bd570f9635764e6835175435f36f499173 /hints
parent1d3259712a05143b33614901d9fae89e4bbfaa3e (diff)
downloadperl-8ab815d325c0064e12998204098708d4bb1b7b88.tar.gz
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
Diffstat (limited to 'hints')
-rw-r--r--hints/hpux.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index c74b66a34e..7a95841bf2 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"