audio: Fix parsing of arguments in the APM config update script am: b9e244dfc7

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1734893

Change-Id: Ieeac633e6b3034ed4e2c0da4704787116950c2c0
This commit is contained in:
Mikhail Naganov 2021-06-11 21:54:36 +00:00 committed by Automerger Merge Worker
commit 188d6412b0

View file

@ -41,7 +41,7 @@
set -euo pipefail
if (echo "$@" | grep -qe -h); then
if (echo "$@" | grep -qe "^-h"); then
echo "This script will update Audio Policy Manager config file"
echo "to the format required by V7.0 XSD schema from a previous"
echo "version."