12 lines
207 B
Bash
12 lines
207 B
Bash
|
#!/bin/bash
|
||
|
set -u
|
||
|
|
||
|
export LC_ALL=C
|
||
|
|
||
|
expected_version="$1"
|
||
|
real_name="GCC (G++)"
|
||
|
app="g++"
|
||
|
|
||
|
ver_check "$real_name" "$app" "$expected_version" || echofail "$real_name $expected_version check failed."
|
||
|
exit $?
|