blob: 0fbeb07ee3d6bf4a127d27eeda9bfc253d67aa7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- solenv/bin/getcompver.awk.orig 2005-02-22 00:24:46.976743123 +0100
+++ solenv/bin/getcompver.awk 2005-02-22 00:34:16.624045985 +0100
@@ -98,6 +98,11 @@
CCversion = $0
}
}
+/^[0-9]*[.][0-9]*[.][0-9]*-[0-9]*$/ {
+ if ( compiler_matched == 0 ) {
+ CCversion = substr($0, 0, index($0, "-") - 1)
+ }
+}
END {
if ( num == "true" ) {
tokencount = split (CCversion,vertoken,".")
|