10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-23 04:43:50 +01:00

Add missing $

This commit is contained in:
TApplencourt 2016-01-14 17:59:56 +01:00
parent 63315d459c
commit 643b3d1cec

View File

@ -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