summaryrefslogtreecommitdiff
path: root/solenv/bin
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/bin')
-rw-r--r--solenv/bin/getcompver.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/bin/getcompver.awk b/solenv/bin/getcompver.awk
index 068960481130..124e915b72c9 100644
--- a/solenv/bin/getcompver.awk
+++ b/solenv/bin/getcompver.awk
@@ -52,13 +52,13 @@ BEGIN {
x = match( $0, /[0-9]*\.[0-9]*\.[0-9]*/ )
CCversion = substr( $0, RSTART, RLENGTH)
}
-/^[0-9]*[.][0-9]*\x0d*$/ {
+/^[0-9]*[.][0-9]*\r*$/ {
if ( compiler_matched == 0 ) {
# need to blow to x.xx.xx for comparing
CCversion = $0 ".0"
}
}
-/^[0-9]*[.][0-9]*[.][0-9]*\x0d*$/ {
+/^[0-9]*[.][0-9]*[.][0-9]*\r*$/ {
if ( compiler_matched == 0 ) {
CCversion = $0
}