summaryrefslogtreecommitdiffstats
path: root/package/bash/bash44-001.patch
diff options
context:
space:
mode:
authorAndrey Yurovsky <yurovsky@gmail.com>2017-11-27 19:37:07 -0800
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-11-29 21:36:34 +0100
commit88af7d330dec7b6386a9994d8e53900033d85903 (patch)
treef812cfe2341bde79062e090084736304b72c16e0 /package/bash/bash44-001.patch
parent86ad37b948b5dd1845ef7e0a3620a0e9c5820559 (diff)
downloadbuildroot-88af7d330dec7b6386a9994d8e53900033d85903.tar.gz
buildroot-88af7d330dec7b6386a9994d8e53900033d85903.zip
support/scripts/size-stats: avoid divide-by-zero
Some packages (ex: skeleton-init-systemd) have a zero size so we cannot divide by the package size. In that case make their percent zero explicitly and avoid a ZeroDivisionError exception. Signed-off-by: Andrey Yurovsky <yurovsky@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/bash/bash44-001.patch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud