From 8d3ee29809d696bf75b5dd08f73663c0627632ba Mon Sep 17 00:00:00 2001
From: Daniel Wallace <danielwallace@gtmanfred.com>
Date: Sun, 31 Mar 2013 17:49:16 -0400
Subject: remove continue from download_local

Bug exposed by a6291858cc1570e56204c4a1e7a68f76c4853336

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>
---
 scripts/makepkg.sh.in | 1 -
 1 file changed, 1 deletion(-)

(limited to 'scripts')

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 6c898497..da620a45 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -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"
-- 
cgit v1.2.3-70-g09d2