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

@@ -4,7 +4,10 @@ set -u
export LC_ALL=C
expected_version="$1"
real_name="bash"
app="bash"
ver_check $app $expected_version || echofail "$app $expected_version check failed."
ver_check $real_name $app $expected_version || \
echofail "$real_name $expected_version check failed."
exit $?