summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-10 15:34:06 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-10 15:34:35 +0000
commit470a6734ed3fb8ed87d76e7dc716963cfe232e6b (patch)
treed2fd033affec31acd7cddc1ee62f3a054035bb66 /dgit
parentf233a3d733538a94a042b9f3c3dc0339c8473ab8 (diff)
dgit: buile_prep_early: Call notpushing() after getting $isuite
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgit b/dgit
index a51c878..a18d018 100755
--- a/dgit
+++ b/dgit
@@ -5663,12 +5663,12 @@ sub cmd_clean () {
sub build_prep_early () {
our $build_prep_early_done //= 0;
return if $build_prep_early_done++;
- notpushing();
badusage "-p is not allowed when building" if defined $package;
my $clogp = parsechangelog();
$isuite = getfield $clogp, 'Distribution';
$package = getfield $clogp, 'Source';
$version = getfield $clogp, 'Version';
+ notpushing();
check_not_dirty();
}