summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hints/dec_osf.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh
index ff8c374718..07b80ea920 100644
--- a/hints/dec_osf.sh
+++ b/hints/dec_osf.sh
@@ -99,7 +99,7 @@ EOF
fi
;;
*) # compile something small: taint.c is fine for this.
- ccversion=`cc -V | grep -E '(Compaq|DEC) C' | awk '{print $3}'`
+ ccversion=`cc -V | awk '/(Compaq|DEC) C/ {print $3}'`
# the main point is the '-v' flag of 'cc'.
case "`cc -v -I. -c taint.c -o taint$$.o 2>&1`" in
*/gemc_cc*) # we have the new DEC GEM CC