1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 07:48: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:
Daniel Wallace 2013-03-31 17:49:16 -04:00 committed by Allan McRae
parent afc77a808d
commit 8d3ee29809

View File

@ -314,7 +314,6 @@ download_local() {
msg2 "$(gettext "Found %s")" "${filepath##*/}"
rm -f "$srcdir/${filepath##*/}"
ln -s "$filepath" "$srcdir/"
continue
else
local filename=$(get_filename "$netfile")
error "$(gettext "%s was not found in the build directory and is not a URL.")" "$filename"