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.
This commit is contained in:
ridiculousfish 2021-10-17 13:53:18 -07:00
parent 780fc4b566
commit ed37cb6e35

View file

@ -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"