summaryrefslogtreecommitdiffstats
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r--scripts/makepkg.sh.in3
1 files changed, 3 insertions, 0 deletions
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