Merge "Fix issue with sort_api.sh"

am: f943c52105

Change-Id: I196e57f5d5f96e5f5e1885e893be21ae81b75207
This commit is contained in:
Paul Duffin
2018-10-16 10:10:45 -07:00
committed by android-build-merger

View File

@@ -21,6 +21,6 @@ A=( $(uniq <<< "${A[*]}") )
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