summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-01-13 20:13:31 -0600
committerDan McGee <dan@archlinux.org>2009-01-13 20:13:31 -0600
commit7a3a718c7af493049cf7f9b7c65032f59cc8a71d (patch)
treeb86fa22b8e35de04506fb80252936d84305df1ff /scripts
parente3a06961f6363820f11112d18a62e6201d06a13a (diff)
makepkg: fix my own stupid mistake
We don't want to bail if a certain integrity check wasn't even provided. Whoops. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index baa9c57b..e9e38b3a 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -587,7 +587,7 @@ check_checksums() {
error "$(gettext "One or more files did not pass the validity check!")"
exit 1 # TODO: error code
fi
- else
+ elif [ ${#integrity_sums[@]} -gt 0 ]; then
error "$(gettext "Integrity checks (%s) differ in size from the source array.")" "$integ"
exit 1 # TODO: error code
fi