From 26ae1ca3c8ade8184847c0968613f5e57ce9421f Mon Sep 17 00:00:00 2001 From: lneto Date: Tue, 16 Jul 2024 12:10:31 +0100 Subject: [PATCH] TUN-8543: use -p flag to create intermediate directories --- .teamcity/mac/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.teamcity/mac/build.sh b/.teamcity/mac/build.sh index 865b296e740..588ef42f294 100755 --- a/.teamcity/mac/build.sh +++ b/.teamcity/mac/build.sh @@ -156,8 +156,8 @@ for arch in ${archs[@]}; do ARCH_TARGET_DIRECTORY="${TARGET_DIRECTORY}/${arch}-build" # creating build directory rm -rf $ARCH_TARGET_DIRECTORY - mkdir "${ARCH_TARGET_DIRECTORY}" - mkdir "${ARCH_TARGET_DIRECTORY}/contents" + mkdir -p "${ARCH_TARGET_DIRECTORY}" + mkdir -p "${ARCH_TARGET_DIRECTORY}/contents" cp -r ".mac_resources/scripts" "${ARCH_TARGET_DIRECTORY}/scripts" # copy cloudflared into the build directory