aboutsummaryrefslogtreecommitdiffstats
path: root/main/abuild/0001-abuild-unset-md5-and-sha256-sums-when-updating-check.patch
blob: f3c954e0f22b0377025bd2c9c3ec9456da3b29db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 2c1aaa5536d601c4203c4ba451141578beeeee16 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Fri, 17 Feb 2017 11:07:15 +0100
Subject: [PATCH] abuild: unset md5 and sha256 sums when updating checksum

this fixes problem with abump
---
 abuild.in | 2 ++
 1 file changed, 2 insertions(+)

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"
-- 
2.11.1