diff options
author | Erich Eckner <git@eckner.net> | 2017-09-19 06:37:06 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-09-19 06:37:06 +0200 |
commit | 44410e62fe988939136222165da474bcf2d44191 (patch) | |
tree | 13079fd8484fa2fac3083a60819976ece4a254e6 | |
parent | 256133f131b90a91d4218912efbc0f39b02af3f3 (diff) | |
download | builder-44410e62fe988939136222165da474bcf2d44191.tar.xz |
bin/db-update: bugfix if list(s) is/are empty
-rwxr-xr-x | bin/db-update | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/db-update b/bin/db-update index 0016436..427956a 100755 --- a/bin/db-update +++ b/bin/db-update @@ -559,6 +559,9 @@ clean_up_lock_file() { # testing -> stable while read -r package; do + if [ -z "${package}" ]; then + continue + fi printf '%s %s %s\n' \ "${package}" \ "$(official_or_community "${package}" 'testing')" \ @@ -570,6 +573,9 @@ done < \ # staging -> testing while read -r package; do + if [ -z "${package}" ]; then + continue + fi printf '%s %s %s\n' \ "${package}" \ "$(official_or_community "${package}" 'staging')" \ |