summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/spack/gitlab/cloud_pipelines/scripts/common/aggregate_package_logs.spack.py2
1 files changed, 1 insertions, 1 deletions
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 b785fc9fed..ec40c4c230 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 @@ if __name__ == "__main__":
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))