chiark / gitweb /
dgit: set $dscfn in build_or_push_prep_early()
authorSean Whitton <spwhitton@spwhitton.name>
Fri, 27 Jul 2018 02:51:55 +0000 (10:51 +0800)
committerSean Whitton <spwhitton@spwhitton.name>
Sat, 28 Jul 2018 04:12:05 +0000 (12:12 +0800)
No functional change.

Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
dgit

diff --git a/dgit b/dgit
index 1a4700ccfdb9af6e6ae544ff17cdd259475e9edb..324fdad68e3c300269eacf5e662ebd88a1b77a57 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -6105,6 +6105,7 @@ sub build_or_push_prep_early () {
     $isuite = getfield $clogp, 'Distribution';
     $package = getfield $clogp, 'Source';
     $version = getfield $clogp, 'Version';
+    $dscfn = dscfn($version);
 }
 
 sub build_prep_early () {
@@ -6414,7 +6415,6 @@ sub build_source {
        unlink "$buildproductsdir/$sourcechanges" or $!==ENOENT
            or fail "remove $sourcechanges: $!";
     }
-    $dscfn = dscfn($version);
     my @cmd = (@dpkgsource, qw(-b --));
     my $leafdir;
     if (building_source_in_playtree()) {