pacman/scripts/libmakepkg/source
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
..
bzr.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
file.sh.in makepkg: fix regression that broke extraction of file:// sources 2020-01-14 01:26:52 -08:00
git.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
hg.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
local.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
meson.build Add meson.build files to build with meson 2018-11-02 03:16:34 -04:00
svn.sh.in Update copyright years 2019-10-23 22:06:54 +10:00