diff options
author | Erich Eckner <git@eckner.net> | 2019-05-04 10:07:47 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-05-04 10:07:47 +0200 |
commit | 0947701cd9dc60a9c8dced9e8ddebc53c64c4d5d (patch) | |
tree | 1ea98bc4086a1bbe282c1b8560c026f3dc1a97cd /bin/prioritize-build-list | |
parent | a45ffd7e5311c62c42bffd27d492746f6433e57a (diff) | |
download | builder-0947701cd9dc60a9c8dced9e8ddebc53c64c4d5d.tar.xz |
bin/prioritize-build-list: run additional step at least once if -d is given
Diffstat (limited to 'bin/prioritize-build-list')
-rwxr-xr-x | bin/prioritize-build-list | 4 |
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=$( |