Fix broken memneq check

This commit is contained in:
Andreas Runfalk 2019-07-16 17:41:39 +02:00
parent 68b812f554
commit 4148ac07f3

View File

@ -45,7 +45,7 @@ set +e
# built in memneq support. Unless HAS_MEMNEQ is defined we set it for models
# that support it here.
if [ -z ${HAS_MEMNEQ+x} ]; then
if [[ "$PACKAGE_ARCH" == ^apollolake|denverton$ ]]; then
if [[ "$PACKAGE_ARCH" =~ ^apollolake|denverton$ ]]; then
export HAS_MEMNEQ=1
fi
fi