From: Ian Jackson Date: Thu, 30 Oct 2014 00:16:15 +0000 (+0000) Subject: If $idistro set (ie, distro explicitly specified by user), do not look at anything... X-Git-Tag: debian/0.30~309 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=bd0d9d9facbc1abba6527ceab00fb8945a137cc4;ds=sidebyside 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) --- diff --git a/dgit b/dgit index 8d4588fc..59f7a73f 100755 --- a/dgit +++ b/dgit @@ -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");