Fix conditional

This commit is contained in:
WereCatf 2016-02-25 19:17:52 +02:00
parent 575757bfd0
commit b3fe208ae7

View File

@ -68,7 +68,7 @@ if [[ $LINUXFAMILY == *sun* && $BRANCH == "default" ]]; then
grep "CONFIG_MALI is not set" $SOURCES/$LINUXSOURCEDIR/.config 2>&1 >/dev/null
local error_num=$?
grep "CONFIG_UMP is not set" $SOURCES/$LINUXSOURCEDIR/.config 2>&1 >/dev/null
if [[ $? -eq 1 || $error_num -eq 1 ]]
if [[ $? -eq 1 && $error_num -eq 1 ]]
then
error_num=0
display_alert "Adding support for Mali - acceleration" "sunxi" "info"