From 94316262b928ea46e46c23128bbbece90fe9d7fb Mon Sep 17 00:00:00 2001 From: iamashwin99 <ashwin-kumar.karnad@mpsd.mpg.de> Date: Fri, 16 Jun 2023 14:49:32 +0200 Subject: [PATCH] update the default root_dir --- src/mpsd_software_manager/mpsd-software.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mpsd_software_manager/mpsd-software.py b/src/mpsd_software_manager/mpsd-software.py index 438dccc..bf408b1 100755 --- a/src/mpsd_software_manager/mpsd-software.py +++ b/src/mpsd_software_manager/mpsd-software.py @@ -1189,8 +1189,8 @@ def main(): # Carry out the action args = parser.parse_args() - # target dir is the place where this script exists. the - root_dir = Path(os.path.dirname(os.path.realpath(__file__))) + # root dir is the place where this script is called from + root_dir = Path(os.getcwd()) set_up_logging( args.loglevel, -- GitLab