commit | 228a7b1dc9ccd2d64716df6a0afee5a572fbdb0f | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Fri Jun 11 22:06:36 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Jun 11 22:06:36 2021 +0000 |
tree | b8f0526cac111f6d1ad20ff0aaeb6d9213e7b36c | |
parent | d48824b3b602eb26d5f0645c53ca991bbbc8d9ea [diff] | |
parent | 188d6412b0ec4c909c3994334363484b64a79cd1 [diff] |
audio: Fix parsing of arguments in the APM config update script am: b9e244dfc7 am: 188d6412b0 Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1734893 Change-Id: Ie50832619be016f65074485dea184cc1c692eb83
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."