mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-06-29 10:30:36 +00:00
Prevents deleting .a and .o files from mingw's folders (macOS).
This commit is contained in:
parent
e18a60b2d1
commit
fd5eb1b666
|
@ -10,8 +10,17 @@ echo "QB64 Setup"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
find . -name "*.command" -exec chmod +x {} \;
|
find . -name "*.command" -exec chmod +x {} \;
|
||||||
|
|
||||||
|
pushd internal/c/libqb >/dev/null
|
||||||
find . -type f -iname "*.a" -exec rm -f {} \;
|
find . -type f -iname "*.a" -exec rm -f {} \;
|
||||||
find . -type f -iname "*.o" -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/*
|
rm ./internal/temp/*
|
||||||
|
|
||||||
if [ -z "$(which clang++)" ]; then
|
if [ -z "$(which clang++)" ]; then
|
||||||
|
@ -64,4 +73,3 @@ else
|
||||||
Pause
|
Pause
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue