diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index 39137f97..4656f270 100644 --- a/scripts/repo-add.sh.in +++ b/scripts/repo-add.sh.in @@ -214,7 +214,7 @@ db_write_entry() { # read info from the zipped package local line var val - while read -r line; do + while read -r line || [[ -n $line ]]; do [[ ${line:0:1} = '#' ]] && continue IFS=' =' read -r var val < <(printf '%s\n' "$line")