abuild: unset md5 and sha256 sums when updating checksum

this fixes problem with abump
This commit is contained in:
Natanael Copa 2017-02-17 11:07:15 +01:00
parent 30c5103bfb
commit 2c1aaa5536
1 changed files with 2 additions and 0 deletions

View File

@ -1960,6 +1960,8 @@ checksum() {
done
msg "Updating the sha512sums in APKBUILD..."
md5sums=
sha256sums=
sha512sums="$(cd "$srcdir" && sha512sum $files)" \
|| die "sha512sum failed"
echo "sha512sums=\"$sha512sums\"" >>"$APKBUILD"