forked from Dark-Horse-Linux/pyrois
basic version checking
This commit is contained in:
11
rex.project/x86_64/components/dependencies/g++.bash
Executable file
11
rex.project/x86_64/components/dependencies/g++.bash
Executable 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 $?
|
||||
Reference in New Issue
Block a user