From fd5eb1b66633ce5711765f697dfe81f1269b19cc Mon Sep 17 00:00:00 2001 From: Fellippe Heitor Date: Sun, 24 Jan 2021 01:40:56 -0300 Subject: [PATCH] Prevents deleting .a and .o files from mingw's folders (macOS). --- setup_osx.command | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/setup_osx.command b/setup_osx.command index 75f9af949..abd363d8f 100755 --- a/setup_osx.command +++ b/setup_osx.command @@ -10,8 +10,17 @@ echo "QB64 Setup" echo "" find . -name "*.command" -exec chmod +x {} \; + +pushd internal/c/libqb >/dev/null find . -type f -iname "*.a" -exec rm -f {} \; find . -type f -iname "*.o" -exec rm -f {} \; +popd >/dev/null + +pushd internal/c/parts >/dev/null +find . -type f -iname "*.a" -exec rm -f {} \; +find . -type f -iname "*.o" -exec rm -f {} \; +popd >/dev/null + rm ./internal/temp/* if [ -z "$(which clang++)" ]; then @@ -64,4 +73,3 @@ else Pause exit 1 fi -