pacman/scripts/libmakepkg
Eli Schwartz 0272fca993 makepkg: do not count hard links multiple times when calculating pkg size
Exclude files with hardlinks when cat'ing all the files, and do a second
run to look at each file with hardlinks, keep track of the ones we've
already operated on, and only cat each inode once. Then use "wc -c" to get
the size of all (deduplicated) files the same way we were already doing.

Original-patch-by: Ronan Pigott <rpigott@berkeley.edu>
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
2019-10-30 10:03:46 +10:00
..
buildenv Update copyright years 2019-10-23 22:06:54 +10:00
executable Update copyright years 2019-10-23 22:06:54 +10:00
integrity Update copyright years 2019-10-23 22:06:54 +10:00
lint_config Update copyright years 2019-10-23 22:06:54 +10:00
lint_package Update copyright years 2019-10-23 22:06:54 +10:00
lint_pkgbuild Update copyright years 2019-10-23 22:06:54 +10:00
source Update copyright years 2019-10-23 22:06:54 +10:00
tidy makepkg: protect against unexpected whitespace in filenames 2019-10-30 09:47:28 +10:00
util makepkg: do not count hard links multiple times when calculating pkg size 2019-10-30 10:03:46 +10:00
.gitignore libmakepkg: fix .gitignore to simply ignore all generated .sh files 2017-12-07 15:37:20 +10:00
buildenv.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
executable.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
integrity.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
lint_config.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
lint_package.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
lint_pkgbuild.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
meson.build meson: remove useless mkdir -p 2018-12-12 10:12:41 +10:00
source.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
srcinfo.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
tidy.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
util.sh.in Update copyright years 2019-10-23 22:06:54 +10:00