summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build6-i386/etc/pbuilder/rebuild-hooks/C01_cleanup
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2017-11-06 15:03:55 +0100
committerMattia Rizzolo <mattia@debian.org>2017-11-06 15:03:55 +0100
commitaf8f129dc6ccff46919bb136ee460aa892dc660f (patch)
treee3e04d19879f08cf7e7286f4f007a793a7f35a0d /hosts/profitbricks-build6-i386/etc/pbuilder/rebuild-hooks/C01_cleanup
parentc45bf9c48100cb6ceb273fc474af52aa1f20721f (diff)
downloadjenkins.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/profitbricks-build6-i386/etc/pbuilder/rebuild-hooks/C01_cleanup')
0 files changed, 0 insertions, 0 deletions