Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/libmakepkg/lint_pkgbuild/arch_specific.sh.in
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2020-01-29 21:27:10 -0800
committerAllan McRae <allan@archlinux.org>2020-01-31 00:38:36 +1000
commit886a6677a847a5b7fdc1e44240f90cc81d91b9ad (patch)
tree2f02657317056fb08c61c5e2c6b6e213f2042cb1 /scripts/libmakepkg/lint_pkgbuild/arch_specific.sh.in
parentd0c487d4dcc6fec6f4bd8e1cefa1de9ffbe0e460 (diff)
Eliminate extra loop over dbs_sync
Current flow looks like loop dbs_sync { loop pkgs { if pkg.db == db then process(pkg, db) } } Package sync transaction always has a counterpart in the dbs_sync list (I cannot come up with a use-case when it is not true). So the loop can be simplified to: loop pkgs { process(pkg, pkg.db) } Tested: 'ninja test' & manually by using pacman with this patch for a week Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/lint_pkgbuild/arch_specific.sh.in')
0 files changed, 0 insertions, 0 deletions