diff options
author | Mattia Rizzolo <mattia@debian.org> | 2017-11-06 15:03:55 +0100 |
---|---|---|
committer | Mattia Rizzolo <mattia@debian.org> | 2017-11-06 15:03:55 +0100 |
commit | af8f129dc6ccff46919bb136ee460aa892dc660f (patch) | |
tree | e3e04d19879f08cf7e7286f4f007a793a7f35a0d /hosts/bbx15-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment | |
parent | c45bf9c48100cb6ceb273fc474af52aa1f20721f (diff) | |
download | jenkins.debian.net-af8f129dc6ccff46919bb136ee460aa892dc660f.tar.xz |
udd-query: multiarch_versionskew: check the count of elements in the file instead of file size
psql now always print at least a newline, even if no records are
returned, that broke our `[ -s $UDD ]` check.
Read the whole file once and put it in a bash array for futher usage,
including counting the elements.
Closes: #864238
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
Diffstat (limited to 'hosts/bbx15-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment')
0 files changed, 0 insertions, 0 deletions