commit | c78bea41c6a6dc6c338ddfc4a4fb9d140ecb40f0 | [log] [tgz] |
---|---|---|
author | Paul Duffin <paulduffin@google.com> | Tue Oct 16 14:28:26 2018 +0100 |
committer | Paul Duffin <paulduffin@google.com> | Tue Oct 16 14:30:01 2018 +0100 |
tree | 34e319c65f30afd853599e37d76bc0bafa04eb19 | |
parent | 08667cc9c12664cfcc69faf831e8cab878cc04b6 [diff] [blame] |
Fix issue with sort_api.sh Should use -ne not -neq. Test: run script manually Bug: 115609023 Change-Id: I337ed43be1f9250e6c2b2c88d97c68a5c9e8941c
diff --git a/tools/hiddenapi/sort_api.sh b/tools/hiddenapi/sort_api.sh index 7cdcf18..710da40 100755 --- a/tools/hiddenapi/sort_api.sh +++ b/tools/hiddenapi/sort_api.sh
@@ -21,6 +21,6 @@ A=( ${C[*]} ${A[*]} ) unset IFS # Dump array back into the file -if [ ${#A[@]} -neq 0 ]; then +if [ ${#A[@]} -ne 0 ]; then printf '%s\n' "${A[@]}" > "$dest_list" fi