summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-31 18:53:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-31 18:53:13 +0000
commit09ea4c1328de1ccffba21b6bfd3bac2a20b96def (patch)
tree358d6cf73abb411aac97eb57b92debde577afec2
parent3386818e53b69e147626e3133ffdb6a93de7d85e (diff)
downloadabuild-09ea4c1328de1ccffba21b6bfd3bac2a20b96def.tar.gz
abuild-09ea4c1328de1ccffba21b6bfd3bac2a20b96def.tar.bz2
abuild-09ea4c1328de1ccffba21b6bfd3bac2a20b96def.tar.xz
abuild-09ea4c1328de1ccffba21b6bfd3bac2a20b96def.zip
abuild: skip md5sum check if in force mode
-rwxr-xr-xabuild.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index ec40612..1e8a8ac 100755
--- a/abuild.in
+++ b/abuild.in
@@ -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)