diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2008-11-27 17:41:04 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2008-11-27 17:41:04 +0000 |
commit | ffd9030e5025ddb2a2a50478cdde46c43c916868 (patch) | |
tree | d9fe01d34a10f060428bd7bf5977903091c4ec7d | |
parent | 6bbb1b6be9ec380d7d165b08003e1ea4d72a13f4 (diff) | |
download | abuild-ffd9030e5025ddb2a2a50478cdde46c43c916868.tar.gz abuild-ffd9030e5025ddb2a2a50478cdde46c43c916868.tar.bz2 abuild-ffd9030e5025ddb2a2a50478cdde46c43c916868.tar.xz abuild-ffd9030e5025ddb2a2a50478cdde46c43c916868.zip |
automatically md5check and fetch
-rwxr-xr-x | abuild | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |