audio: Fix parsing of arguments in the APM config update script am: b9e244dfc7 am: 188d6412b0 am: 228a7b1dc9 am: 64d5078865

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

Change-Id: I0d6dbd7a9adfc4f8b053a2c5be235b7317eafc65
diff --git a/audio/7.0/config/update_audio_policy_config.sh b/audio/7.0/config/update_audio_policy_config.sh
index 159fa35..c475dd1 100755
--- a/audio/7.0/config/update_audio_policy_config.sh
+++ b/audio/7.0/config/update_audio_policy_config.sh
@@ -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."