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 SORTED=${TMPDIR}/element-deps.sorted
grep -v '^#' $i > ${UNSORTED} grep -v '^#' $i > ${UNSORTED}
sort ${UNSORTED} > ${SORTED} sort ${UNSORTED} > ${SORTED}
diff -c ${UNSORTED} ${SORTED} if [ -n "$(diff -c ${UNSORTED} ${SORTED})" ]; then
if [ $? -ne 0 ]; then
error "$i is not sorted alphabetically" error "$i is not sorted alphabetically"
fi fi
fi fi