diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ver_linux | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/ver_linux b/scripts/ver_linux index ab69ecefedbd..7ac0e309be09 100755 --- a/scripts/ver_linux +++ b/scripts/ver_linux | |||
@@ -12,12 +12,9 @@ echo ' ' | |||
12 | uname -a | 12 | uname -a |
13 | echo ' ' | 13 | echo ' ' |
14 | 14 | ||
15 | gcc --version 2>&1| head -n 1 | grep -v gcc | awk \ | 15 | gcc -dumpversion 2>&1| awk \ |
16 | 'NR==1{print "Gnu C ", $1}' | 16 | 'NR==1{print "Gnu C ", $1}' |
17 | 17 | ||
18 | gcc --version 2>&1| grep gcc | awk \ | ||
19 | 'NR==1{print "Gnu C ", $3}' | ||
20 | |||
21 | make --version 2>&1 | awk -F, '{print $1}' | awk \ | 18 | make --version 2>&1 | awk -F, '{print $1}' | awk \ |
22 | '/GNU Make/{print "Gnu make ",$NF}' | 19 | '/GNU Make/{print "Gnu make ",$NF}' |
23 | 20 | ||