mirror of
https://github.com/LCPQ/quantum_package
synced 2024-12-22 20:35:19 +01:00
Add missing $
This commit is contained in:
parent
63315d459c
commit
643b3d1cec
@ -47,8 +47,8 @@ check_version () {
|
||||
|
||||
i=$(gcc -dumpversion)
|
||||
|
||||
check_version i 4.6
|
||||
if [[ $? -ne 0 ]]
|
||||
check_version 4.6 $i
|
||||
if [[ $? == 1 ]]
|
||||
then
|
||||
echo "GCC version $(gcc -dumpversion) too old. GCC >= 4.6 required."
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user