build: fix uninstall command for sh-based OSes

This commit is contained in:
Lephenixnoir 2021-01-29 19:05:11 +01:00
parent 8c34abe3ca
commit a9f1dc3ec8
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -15,10 +15,10 @@ install:
@ fxsdk build-cg install @ fxsdk build-cg install
uninstall: uninstall:
@ if [[ -e build-fx/install_manifest.txt ]]; then \ @ if [ -e build-fx/install_manifest.txt ]; then \
xargs rm -f < build-fx/install_manifest.txt; \ xargs rm -f < build-fx/install_manifest.txt; \
fi fi
@ if [[ -e build-cg/install_manifest.txt ]]; then \ @ if [ -e build-cg/install_manifest.txt ]; then \
xargs rm -f < build-cg/install_manifest.txt; \ xargs rm -f < build-cg/install_manifest.txt; \
fi fi