From 2046b269f987d70a6b89cbcd8926ef4931586706 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 8 Jul 2017 16:51:06 +0100 Subject: [PATCH] rpush: break out @rfiles in dopush This very slight refactoring makes it easier to add additional files here, and also factors out the appending of $dryrunsuffix to each one. No functional change. Signed-off-by: Ian Jackson --- dgit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dgit b/dgit index 6b1201e7..c2622ef7 100755 --- a/dgit +++ b/dgit @@ -4366,9 +4366,9 @@ If you need to change the package, you must use a new version number. END if ($we_are_responder) { my $dryrunsuffix = act_local() ? "" : ".tmp"; + my @rfiles = ($dscpath, $changesfile); responder_receive_files('signed-dsc-changes', - "$dscpath$dryrunsuffix", - "$changesfile$dryrunsuffix"); + map { "$_$dryrunsuffix" } @rfiles); } else { if (act_local()) { rename "$dscpath.tmp",$dscpath or die "$dscfn $!"; -- 2.30.2