From bd0d9d9facbc1abba6527ceab00fb8945a137cc4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 30 Oct 2014 00:16:15 +0000 Subject: 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) --- dgit | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dgit b/dgit index 8d4588f..59f7a73 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"); -- cgit v1.2.3