abuild: skip md5sum check if in force mode

This commit is contained in:
Natanael Copa 2010-12-31 18:53:13 +00:00
parent 3386818e53
commit 09ea4c1328
1 changed files with 3 additions and 1 deletions

View File

@ -241,7 +241,9 @@ fetch() {
# unpack the sources
default_unpack() {
local u
md5check || return 1
if [ -z "$force" ]; then
md5check || return 1
fi
mkdir -p "$srcdir"
for u in $source; do
local s="$SRCDEST/${u##*/}" # $(basename $s)