diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-01-07 23:10:04 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-01-07 23:13:40 +0000 |
commit | ef2804f8817f5d2771caa1c70a9ebe4591268099 (patch) | |
tree | 0cd1683222296e446a5577c4c75cbcee7ab17472 /dgit | |
parent | 23e56c29bdbca9862d483b3551b107cd9a25c648 (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-x | dgit | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |