Merge "Continue past dependency ordering diffs."
This commit is contained in:
commit
9981f94828
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user