pacman/scripts
Eli Schwartz 6f1a9e6ea8 makepkg: fix regression that broke extraction of file:// sources
In commit 9c817b6549 we made these sources
extendable, and heuristically determined the correct extraction
functions to use. But our fallback for protos that didn't have an exact
extract_* function didn't take into account that 'extract_file' matches
an actual proto... so we passed the netfile in while the function
expected a file.

Solution: the function should expect a netfile too, thereby allowing us
to delay an attempted resolution of netfile -> file, to the one case
where it is actually used. This makes us slightly more efficient in the
non-file case, makes our functions a bit more consistent, and makes
file:// extraction work again.

Fixes FS#64648

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
(cherry picked from commit 349c22d043)
2020-01-14 01:26:52 -08:00
..
completion Remove --force from completion 2019-10-23 22:06:54 +10:00
libmakepkg makepkg: fix regression that broke extraction of file:// sources 2020-01-14 01:26:52 -08:00
library scripts/library: fix typo in README 2018-12-10 11:12:27 +10:00
po Pull latest translations from Transifex 2019-11-01 10:54:12 +10:00
.gitignore libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
libmakepkg.pc.in libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
Makefile.am makepkg: do not count hard links multiple times when calculating pkg size 2019-10-30 10:03:46 +10:00
makepkg-template.pl.in Update copyright years 2019-10-23 22:06:54 +10:00
makepkg.sh.in makepkg: only run --clean actions if we built a package 2019-10-30 10:04:17 +10:00
meson.build libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
pacman-db-upgrade.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
pacman-key.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
repo-add.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
wrapper.sh.in Update copyright years 2019-10-23 22:06:54 +10:00