Now that we have the full path, we can skip the which call,
H.Merijn Brand [Wed, 30 Mar 2005 17:03:19 +0000 (17:03 +0000)]
that might cause trouble on testdrive systems.

p4raw-id: //depot/perl@24107

hints/hpux.sh

index c74b66a..7a95841 100644 (file)
@@ -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"