diff --git a/share/spack/gitlab/cloud_pipelines/scripts/common/aggregate_package_logs.spack.py b/share/spack/gitlab/cloud_pipelines/scripts/common/aggregate_package_logs.spack.py index b785fc9fedd..ec40c4c230c 100644 --- a/share/spack/gitlab/cloud_pipelines/scripts/common/aggregate_package_logs.spack.py +++ b/share/spack/gitlab/cloud_pipelines/scripts/common/aggregate_package_logs.spack.py @@ -30,7 +30,7 @@ def find_logs(prefix, filename): data = [] # Look in the CWD for logs - local_log_path = os.path.join(os.path.getcwd(), args.log) + local_log_path = os.path.join(os.getcwd(), args.log) if os.path.exists(local_log_path): with open(local_log_path) as fd: data.append(json.load(fd))