diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-13 17:17:42 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-13 17:33:56 +0000 |
commit | f559074ff68c29e0c40f544ac57e09fe5ade766d (patch) | |
tree | fc3baf11eb19a5e9dd3a18b0df012b290d755a11 /dgit | |
parent | 87e828d271c0f37bb33ca723fa991d6afc3ec76f (diff) |
dgit: Set default dsc import distro when there is no Dgit field.
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
@@ -2814,6 +2814,7 @@ sub parse_dsc_field ($$) { if (!defined $f) { progress "$what: NO git hash"; + $def_dsc_distro->(); } elsif (($dsc_hash, $dsc_distro, $dsc_hint_tag, $dsc_hint_url) = $f =~ m/^(\w+)\s+($distro_re)\s+($versiontag_re)\s+(\S+)(?:\s|$)/) { progress "$what: specified git info ($dsc_distro)"; |