summaryrefslogtreecommitdiffstats
path: root/abuild.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-02-17 11:07:15 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2017-02-17 11:07:15 +0100
commit2c1aaa5536d601c4203c4ba451141578beeeee16 (patch)
treed0a2dccb3a85c3e3c70513ca08a8d81dfbdc634a /abuild.in
parent30c5103bfb0d1af99009aa5313112e9dacf3260f (diff)
downloadabuild-2c1aaa5536d601c4203c4ba451141578beeeee16.tar.bz2
abuild-2c1aaa5536d601c4203c4ba451141578beeeee16.tar.xz
abuild: unset md5 and sha256 sums when updating checksum
this fixes problem with abump
Diffstat (limited to 'abuild.in')
-rw-r--r--abuild.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index 6c57cf0..6d93e1f 100644
--- a/abuild.in
+++ b/abuild.in
@@ -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"