Merge "Continue past dependency ordering diffs."

This commit is contained in:
Jenkins 2015-01-08 10:20:16 +00:00 committed by Gerrit Code Review
commit 9981f94828

View File

@ -89,8 +89,7 @@ for i in $(find elements -type f); do
SORTED=${TMPDIR}/element-deps.sorted
grep -v '^#' $i > ${UNSORTED}
sort ${UNSORTED} > ${SORTED}
diff -c ${UNSORTED} ${SORTED}
if [ $? -ne 0 ]; then
if [ -n "$(diff -c ${UNSORTED} ${SORTED})" ]; then
error "$i is not sorted alphabetically"
fi
fi