chiark / gitweb /
If $idistro set (ie, distro explicitly specified by user), do not look at anything...
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 30 Oct 2014 00:16:15 +0000 (00:16 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 8 Nov 2014 16:17:45 +0000 (16:17 +0000)
dgit

diff --git a/dgit b/dgit
index 8d4588f..59f7a73 100755 (executable)
--- 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");