Merge "Fix issue with sort_api.sh"

This commit is contained in:
Treehugger Robot
2018-10-16 16:47:08 +00:00
committed by Gerrit Code Review

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