summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-19 20:01:20 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-19 20:02:49 +0000
commitb4488588e10b6953a2c96b6ccfc3877f9a736fee (patch)
treefe42431293c27d463f6d7a8ef3485d120c04d064 /dgit
parentcb8acf777d2d1ebda0bd15ce197858e6d321af93 (diff)
dgit: repos_server_url: Set $isuite
We need to set this or access_*() fails. Set it to a dummy value. The user will need to specify -d to get the server for a non-default distro, which is hopefully obvious. 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 3ff4904..dafbb0b 100755
--- a/dgit
+++ b/dgit
@@ -6316,6 +6316,7 @@ sub cmd_archive_api_query {
sub repos_server_url () {
$package = '_dgit-repos-server';
local $access_forpush = 0;
+ local $isuite = 'DGIT-REPOS-SERVER';
my $url = access_giturl();
}