[pacman-dev,v3,0/1] Correct package size calculation in makepkg

Message ID 20191027073202.727188-1-rpigott@berkeley.edu
Headers show


Ronan Pigott Oct. 27, 2019, 7:32 a.m. UTC
From: Ronan Pigott <rpigott@berkeley.edu>

V3 addresses eschwartz comment that leading trailing whitespace are not
handled correctly. With these changes it is no longer necessary to
modify INODECMD and other files that use it, so those changes have been
removed and another patch can address them if necessary. Filenames that
coincide with a valid stat flag option are now handled as well with a --
argument to stat.

Ronan Pigott (1):
  makepkg: do not count hard linked file sizes multiple times

 scripts/Makefile.am                   |  1 +
 scripts/libmakepkg/util/dirsize.sh.in | 45 +++++++++++++++++++++++++++
 scripts/libmakepkg/util/meson.build   |  1 +
 scripts/makepkg.sh.in                 |  2 +-
 4 files changed, 48 insertions(+), 1 deletion(-)
 create mode 100644 scripts/libmakepkg/util/dirsize.sh.in