Skip to content

Commit

Permalink
Merge pull request #99 from allanmcrae/buildinfo
Browse files Browse the repository at this point in the history
Support BUILDINFO format version 2
  • Loading branch information
jelly authored May 28, 2021
2 parents 0f99f18 + 2ff2e2b commit 30f4ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repro.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 30f4ce3

Please sign in to comment.