mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
remove continue from download_local
Bug exposed by a6291858cc
popd doesn't run in the for loop in download_sources() if the continue
in download_files is executed. Causing the extract_files to extract
everything into $SRCDEST instead of $srcdir
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
afc77a808d
commit
8d3ee29809
@ -314,7 +314,6 @@ download_local() {
|
|||||||
msg2 "$(gettext "Found %s")" "${filepath##*/}"
|
msg2 "$(gettext "Found %s")" "${filepath##*/}"
|
||||||
rm -f "$srcdir/${filepath##*/}"
|
rm -f "$srcdir/${filepath##*/}"
|
||||||
ln -s "$filepath" "$srcdir/"
|
ln -s "$filepath" "$srcdir/"
|
||||||
continue
|
|
||||||
else
|
else
|
||||||
local filename=$(get_filename "$netfile")
|
local filename=$(get_filename "$netfile")
|
||||||
error "$(gettext "%s was not found in the build directory and is not a URL.")" "$filename"
|
error "$(gettext "%s was not found in the build directory and is not a URL.")" "$filename"
|
||||||
|
Loading…
Reference in New Issue
Block a user