basic version checking

This commit is contained in:
Chris Punches
2024-02-10 09:14:54 -05:00
parent 5ddeaeeacb
commit c0ef3d4bf6
28 changed files with 727 additions and 17 deletions

View File

@@ -0,0 +1,11 @@
#!/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 $?