From 1401ce02b5b3ce2b5a2837ac1d46f43825fa7cd4 Mon Sep 17 00:00:00 2001
From: mattijs <mattijs>
Date: Thu, 12 Dec 2024 16:58:49 +0000
Subject: [PATCH] ENH: badMove: missing directory creation

---
 tutorials/mesh/moveDynamicMesh/badMove/Allclean | 2 +-
 tutorials/mesh/moveDynamicMesh/badMove/Allrun   | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/tutorials/mesh/moveDynamicMesh/badMove/Allclean b/tutorials/mesh/moveDynamicMesh/badMove/Allclean
index 5ef46f9d35d..d75d84dc208 100755
--- a/tutorials/mesh/moveDynamicMesh/badMove/Allclean
+++ b/tutorials/mesh/moveDynamicMesh/badMove/Allclean
@@ -9,7 +9,7 @@ rm -rf constant/extendedFeatureEdgeMesh
 
 #- From pointMesh generation
 rm -rf constant/pointMesh
-rm -f constant/triSurface/blockMesh.obj
+rm -rf constant/triSurface
 
 #- From surfaceFeatureExtract
 rm -f constant/triSurface/box222.eMesh
diff --git a/tutorials/mesh/moveDynamicMesh/badMove/Allrun b/tutorials/mesh/moveDynamicMesh/badMove/Allrun
index e48b35c7fa6..d9a8bee1c27 100755
--- a/tutorials/mesh/moveDynamicMesh/badMove/Allrun
+++ b/tutorials/mesh/moveDynamicMesh/badMove/Allrun
@@ -6,6 +6,7 @@ cd "${0%/*}" || exit                                # Run from this directory
 #- Generate mesh
 runApplication blockMesh
 
+mkdir -p constant/triSurface
 runApplication surfaceMeshExtract \
     -featureAngle 45 \
     -patches '(minX maxY)' \
-- 
GitLab