mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-01-14 11:03:19 +00:00
just moved the checksum func
This commit is contained in:
parent
5a3c28db9d
commit
1af37411f0
20
abuild
20
abuild
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user