From: Ronan Pigott <rpigott@berkeley.edu> V2 implements suggestions by Allan to separate dirsize calculation into a util library function and implement a two-pass approach for hard linked and non hard linked files. Ronan Pigott (2): makepkg: use null-delimited file lists when tracking inodes makepkg: do not count hard linked file sizes multiple times configure.ac | 6 ++-- meson.build | 6 ++-- scripts/Makefile.am | 1 + scripts/libmakepkg/tidy/zipman.sh.in | 9 +++--- scripts/libmakepkg/util/dirsize.sh.in | 45 +++++++++++++++++++++++++++ scripts/libmakepkg/util/meson.build | 1 + scripts/makepkg.sh.in | 2 +- 7 files changed, 59 insertions(+), 11 deletions(-) create mode 100644 scripts/libmakepkg/util/dirsize.sh.in -- 2.23.0