Commit 1af37411 authored by Natanael Copa's avatar Natanael Copa

just moved the checksum func

parent 5a3c28db
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment