summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xabuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/abuild b/abuild
index ca883af..0be4e52 100755
--- a/abuild
+++ b/abuild
@@ -108,6 +108,7 @@ md5check() {
if [ "$(echo $source | wc -l)" -ne "$(echo $md5sums | wc -l)" ]; then
die "Number of md5sums does not correspond to number of sources"
fi
+ fetch
msg "Checking md5sums..."
cd "$srcdir" && echo "$md5sums" | md5sum -c
}
@@ -153,6 +154,7 @@ fetch() {
# unpack the sources
unpack() {
local u
+ md5check
mkdir -p "$srcdir"
for u in $source; do
local s="$SRCDEST/${u##*/}" # $(basename $s)