]> git.donarmstrong.com Git - dak.git/blobdiff - daklib/utils.py
fix reading $HOME/etc/dak/dak.conf
[dak.git] / daklib / utils.py
index 9afd420e8d154f4824440c7c304812dadc0a68fa..38a987faf701f7e73d0f5a905e915b5f7858c9c8 100755 (executable)
@@ -765,7 +765,7 @@ def which_conf_file ():
         homedir = os.getenv("HOME")
         confpath = os.path.join(homedir, "/etc/dak.conf")
         if os.path.exists(confpath):
-            apt_pkg.ReadConfigFileISC(Cnf,default_config)
+            apt_pkg.ReadConfigFileISC(Cnf,confpath)
 
     # We are still in here, so there is no local config file or we do
     # not allow local files. Do the normal stuff.