From 872b83f4cd6b6293b6f5e4330b6be8b7578b5b89 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 1 Oct 2018 14:38:39 +0100 Subject: dgit: Improve some error messages about changes files Signed-off-by: Ian Jackson --- dgit | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dgit') diff --git a/dgit b/dgit index f826cda..77c85e5 100755 --- a/dgit +++ b/dgit @@ -6372,10 +6372,12 @@ END runcmd_ordryrun_local @mergechanges, @changesfiles; my $multichanges = changespat $version,'multi'; if (act_local()) { - stat_exists $multichanges or fail "$multichanges: $!"; + stat_exists $multichanges + or fail "$multichanges unexpectedly not created by build"; foreach my $cf (glob $pat) { next if $cf eq $multichanges; - rename "$cf", "$cf.inmulti" or fail "$cf\{,.inmulti}: $!"; + rename "$cf", "$cf.inmulti" or + fail "install new changes $cf\{,.inmulti}: $!"; } } $result = $multichanges; -- cgit v1.2.3