diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2014-10-30 00:16:15 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2014-11-08 16:17:45 +0000 |
commit | bd0d9d9facbc1abba6527ceab00fb8945a137cc4 (patch) | |
tree | 89653930fb5a519bbdbca796b18ac60aa990ac30 | |
parent | 3fb6b8936cb3d476f3122a04c1fa2d9a3d911b7a (diff) |
If $idistro set (ie, distro explicitly specified by user), do not look at anything to do with suite's distro config (nor some totally bogus fixed config variable)
-rwxr-xr-x | dgit | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -566,9 +566,7 @@ sub cfg { sub access_basedistro () { if (defined $idistro) { - return cfg("dgit-distro.basedistro.distro", - "dgit-suite.$isuite.distro", - 'RETURN-UNDEF') // $idistro; + return $idistro; } else { return cfg("dgit-suite.$isuite.distro", "dgit.default.distro"); |