pacman/scripts
Eli Schwartz 349c22d043 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>
2019-11-26 10:22:16 +10:00
..
completion Remove --force from completion 2019-10-23 22:06:54 +10:00
libmakepkg makepkg: fix regression that broke extraction of file:// sources 2019-11-26 10:22:16 +10:00
po scripts/library: remove human_to_size 2019-11-06 15:52:21 +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 build: remove use of handcrafted m4 in configuring scripts 2019-11-06 16:11:53 +10:00
makepkg-template.pl.in Remove "Generated from ...; do not edit by hand" from scripts 2019-11-06 15:46:59 +10:00
makepkg.sh.in Remove "Generated from ...; do not edit by hand" from scripts 2019-11-06 15:46:59 +10:00
meson.build build: remove use of handcrafted m4 in configuring scripts 2019-11-06 16:11:53 +10:00
pacman-db-upgrade.sh.in Remove "Generated from ...; do not edit by hand" from scripts 2019-11-06 15:46:59 +10:00
pacman-key.sh.in Remove "Generated from ...; do not edit by hand" from scripts 2019-11-06 15:46:59 +10:00
repo-add.sh.in repo-add: use wc -c on stdin instead of file to avoid use of cut 2019-11-07 21:40:44 +10:00
wrapper.sh.in Update copyright years 2019-10-23 22:06:54 +10:00