Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c78bea41 authored by Paul Duffin's avatar Paul Duffin
Browse files

Fix issue with sort_api.sh

Should use -ne not -neq.

Test: run script manually
Bug: 115609023
Change-Id: I337ed43be1f9250e6c2b2c88d97c68a5c9e8941c
parent 08667cc9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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