diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2008-11-25 10:44:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2008-11-25 10:44:32 +0000 |
commit | 1af37411f076b3f181242d78523fa8bdca47eb91 (patch) | |
tree | 6ee38a06a4976c691979c4c40f27de320be5454e /abuild | |
parent | 5a3c28db9de7adcd5a78895cc2208b9b7103802d (diff) | |
download | abuild-1af37411f076b3f181242d78523fa8bdca47eb91.tar.gz abuild-1af37411f076b3f181242d78523fa8bdca47eb91.tar.bz2 abuild-1af37411f076b3f181242d78523fa8bdca47eb91.tar.xz abuild-1af37411f076b3f181242d78523fa8bdca47eb91.zip |
just moved the checksum func
Diffstat (limited to 'abuild')
-rwxr-xr-x | abuild | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -424,6 +424,16 @@ builddeps() { done } +checksum() { + local s files + fetch + for s in $source; do + files="$files ${s##*/}" + done + md5sums="$(cd "$srcdir" && md5sum $files)" || die "md5sum failed" + echo "md5sums=\"$md5sums\"" +} + usage() { echo "$(basename $0) $abuild_ver" echo "usage: $0 [options] [cmd] ..." @@ -452,16 +462,6 @@ usage() { exit 0 } -checksum() { - local s files - fetch - for s in $source; do - files="$files ${s##*/}" - done - md5sums="$(cd "$srcdir" && md5sum $files)" || die "md5sum failed" - echo "md5sums=\"$md5sums\"" -} - APKBUILD="${APKBUILD:-./APKBUILD}" while getopts "hfqru" opt; do |