From 47ee89ada9d13935510ef92541649901789c23c8 Mon Sep 17 00:00:00 2001 From: Andrew Fyfe Date: Sat, 4 Aug 2007 01:17:54 +0100 Subject: scripts/makepkg.sh.in: Fix 2 bugs - Downloaded files weren't being copied to $srcdir - Counter wasn't being incremented for checksum checks Signed-off-by: Andrew Fyfe --- scripts/makepkg.sh.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index a3e4d9ce..eb42ceff 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -472,6 +472,7 @@ download_sources() { plain "$(gettext "Aborting...")" exit 1 fi + cp -s --remove-destination "$SRCDEST/$file" "$srcdir/" done popd &>/dev/null @@ -574,6 +575,8 @@ check_checksums() { echo "$(gettext "FAILED")" >&2 errors=1 fi + + idx=$((idx + 1)) done if [ $errors -gt 0 ]; then -- cgit v1.2.3-70-g09d2