Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-05-04 10:07:47 +0200
committerErich Eckner <git@eckner.net>2019-05-04 10:07:47 +0200
commit0947701cd9dc60a9c8dced9e8ddebc53c64c4d5d (patch)
tree1ea98bc4086a1bbe282c1b8560c026f3dc1a97cd /bin
parenta45ffd7e5311c62c42bffd27d492746f6433e57a (diff)
bin/prioritize-build-list: run additional step at least once if -d is given
Diffstat (limited to 'bin')
-rwxr-xr-xbin/prioritize-build-list4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/prioritize-build-list b/bin/prioritize-build-list
index f3f178d..80d418e 100755
--- a/bin/prioritize-build-list
+++ b/bin/prioritize-build-list
@@ -105,8 +105,8 @@ updated_rows=$(
)
if ${dependencies}; then
- new_updated_rows="${updated_rows}"
- updated_rows=0
+ new_updated_rows=1
+ updated_rows=$((updated_rows-1))
while [ ${new_updated_rows} -ne 0 ]; do
updated_rows=$((updated_rows+new_updated_rows))
new_updated_rows=$(