summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-01-07 23:10:04 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-01-07 23:13:40 +0000
commitef2804f8817f5d2771caa1c70a9ebe4591268099 (patch)
tree0cd1683222296e446a5577c4c75cbcee7ab17472 /dgit
parent23e56c29bdbca9862d483b3551b107cd9a25c648 (diff)
dgit: archive-api-query: Avoid crashing due to lack of $isuite
Otherwise: Use of uninitialized value $isuite in concatenation (.) or string at dgit line 705. This breaks the infrastructure. Closes:#886592. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit1
1 files changed, 1 insertions, 0 deletions
diff --git a/dgit b/dgit
index e86e398..27dcf1c 100755
--- a/dgit
+++ b/dgit
@@ -6456,6 +6456,7 @@ sub pre_archive_api_query () {
sub cmd_archive_api_query {
badusage "need only 1 subpath argument" unless @ARGV==1;
my ($subpath) = @ARGV;
+ local $isuite = 'DGIT-API-QUERY-CMD';
my @cmd = archive_api_query_cmd($subpath);
push @cmd, qw(-f);
debugcmd ">",@cmd;