From 8e12de1410560987d9f6b6cc2350acb359e2f975 Mon Sep 17 00:00:00 2001
From: Tom Benson <benson31@llnl.gov>
Date: Tue, 3 Sep 2024 20:23:34 -0400
Subject: [PATCH] Fix a mkdir -p issue

---
 .gitlab/build-and-test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab/build-and-test.sh b/.gitlab/build-and-test.sh
index a2fe5c65d1..8b5e8478d1 100755
--- a/.gitlab/build-and-test.sh
+++ b/.gitlab/build-and-test.sh
@@ -180,7 +180,7 @@ then
     ninja -C build-deps gather-all
 
     # Copy the suggested cmake prefix path to the install tree.
-    mkdir ${prefix}/logs
+    mkdir -p ${prefix}/logs
     cp ${build_dir}/build-deps/lbann_sb_suggested_cmake_install_prefix.sh ${prefix}/logs
 
     # Stamp these commits