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