From a8dfc67b1bdc51346998026997f79d82e80f04d4 Mon Sep 17 00:00:00 2001 From: Charlie Vanaret Date: Sun, 17 Nov 2024 00:10:17 +0100 Subject: [PATCH] [CI] replaced rm with mv in build_tarballs_release.jl [skip ci] --- .github/julia/build_tarballs_release.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/julia/build_tarballs_release.jl b/.github/julia/build_tarballs_release.jl index 45335cc5..f46defb5 100644 --- a/.github/julia/build_tarballs_release.jl +++ b/.github/julia/build_tarballs_release.jl @@ -98,7 +98,9 @@ if [[ "${target}" == x86_64-apple-darwin* ]]; then export MACOSX_DEPLOYMENT_TARGET=10.15 # ...and install a newer SDK which supports `std::filesystem` pushd $WORKSPACE/srcdir/MacOSX10.*.sdk - rm -rf /opt/${target}/${target}/sys-root/System + # CV: replacing rm -rf with mv + # rm -rf /opt/${target}/${target}/sys-root/System + mv /opt/${target}/${target}/sys-root/System /opt/${target}/${target}/sys-root/System_old cp -ra usr/* "/opt/${target}/${target}/sys-root/usr/." cp -ra System "/opt/${target}/${target}/sys-root/." popd