diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-11-06 14:21:54 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-01 23:53:44 +0100 |
commit | c2320e3c4c99e74d80f029be8ca8c0d06d82d67c (patch) | |
tree | e39ab54562c39e7359e8990f448578b92d21ca01 /dgit | |
parent | e1835188573be155d122a12fe99bb2ca6e0d4040 (diff) |
sbuild:: check that we have the right number of .changes files
Check that the set of .changes files found is as we expect, before
calling mergechanges.
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3153,7 +3153,7 @@ sub cmd_sbuild { or $a cmp $b } @changesfiles; fail "wrong number of different changes files (@changesfiles)" - unless @changesfiles; + unless @changesfiles==2; runcmd_ordryrun_local @mergechanges, @changesfiles; my $multichanges = "${package}_".(stripepoch $version)."_multi.changes"; if (act_local()) { |