From ed37cb6e35e51be32d0faa0018e88e5f4904a959 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 17 Oct 2021 13:53:18 -0700 Subject: [PATCH] Mac package: pass -f when deleting the temp directory CMake's FetchContent package will check out a git repo and leave permissions as read-only, causing rm to fail. Pass -f so that rm will succeed. --- build_tools/make_pkg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_tools/make_pkg.sh b/build_tools/make_pkg.sh index 11d3e6fb4..4d8e9b54a 100755 --- a/build_tools/make_pkg.sh +++ b/build_tools/make_pkg.sh @@ -40,4 +40,4 @@ productsign --sign "${MAC_PRODUCTSIGN_ID}" "$OUTPUT_PATH/fish-$VERSION.pkg" "$OU # Make the app { cd "$PKGDIR/build" && make -j 12 signed_fish_macapp && zip -r "$OUTPUT_PATH/fish-$VERSION.app.zip" fish.app; } -rm -r "$PKGDIR" +rm -rf "$PKGDIR"