diff options
author | Andrew Fyfe <andrew@neptune-one.net> | 2007-08-04 02:17:54 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-08-13 03:19:08 +0200 |
commit | 47ee89ada9d13935510ef92541649901789c23c8 (patch) | |
tree | 63eb91cf1cbce8739f90f8e958ba55768de79ab1 /scripts | |
parent | f2c7187e432a3abc732d53e0a9d95f44f9338535 (diff) | |
download | pacman-47ee89ada9d13935510ef92541649901789c23c8.tar.gz pacman-47ee89ada9d13935510ef92541649901789c23c8.tar.xz |
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 <andrew@neptune-one.net>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/makepkg.sh.in | 3 |
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 |