From e3236eb0d6368a2ea4f7ea7cf6e391054c6a3630 Mon Sep 17 00:00:00 2001 From: r00t Date: Tue, 11 Apr 2017 08:30:09 -0400 Subject: [PATCH] whoops! one oversight --- bdisk/host.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bdisk/host.py b/bdisk/host.py index 5334f85..ac1042b 100755 --- a/bdisk/host.py +++ b/bdisk/host.py @@ -40,8 +40,7 @@ def getConfig(conf_file='/etc/bdisk/build.ini'): '/opt/dev/bdisk/build.ini', '/opt/dev/bdisk/extra/build.ini', '/opt/dev/bdisk/extra/dist.build.ini', - currentdir_user, - currentdir_def] + currentdir_user] # if we weren't given one/using the default... if conf_file == '/etc/bdisk/build.ini': if not os.path.isfile(conf_file): @@ -51,7 +50,7 @@ def getConfig(conf_file='/etc/bdisk/build.ini'): break else: conf = conf_file - defconf = '{0}/../extra/dist.build.ini'.format(os.path.dirname(os.path.realpath(__file__))) + defconf = os.path.abspath('{0}/../extra/dist.build.ini'.format(os.path.dirname(os.path.realpath(__file__)))) if not conf: # okay, so let's check for distributed/"blank" ini's # since we can't seem to find one.