From 2ff2e2b4dae11c693363cbb3e7a1e1571652edee Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Wed, 26 May 2021 12:38:58 +1000 Subject: [PATCH] Support BUILDINFO format version 2 Currently does not take advantage of the new fields. Signed-off-by: Allan McRae --- repro.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repro.in b/repro.in index 1913292..170ce35 100755 --- a/repro.in +++ b/repro.in @@ -331,7 +331,7 @@ function cmd_check(){ pkgbuild_sha256sum="${buildinfo[pkgbuild_sha256sum]}" SOURCE_DATE_EPOCH="${buildinfo[builddate]}" - if [[ ${format} -ne 1 ]]; then + if [[ ${format} -ne 1 && ${format} -ne 2 ]]; then error "unsupported BUILDINFO format or no format definition found, aborting rebuild" exit 1 fi