chiark / gitweb /
rpush: break out @rfiles in dopush
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 6b1201e7aee73dbc46cdcaa89b3c0b72987f49ce..c2622ef7eb4ff7a949b77fcea66d1ad194a90213 100755 (executable)
--- 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 $!";