summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/get-package-updates5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index e096eff..b292932 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -289,6 +289,11 @@ done \
< "${work_dir}/build-list.new" \
> "${work_dir}/build-order"
+if grep -vq '^\S\+ \S\+$' "${work_dir}/build-order"; then
+ >&2 echo 'Created partial order file "build-order" is invalid.'
+ exit 2
+fi
+
echo 'Now actually sort it.'
(