better clean

This commit is contained in:
Marc BARBIER
2021-07-06 16:33:09 +02:00
parent 9480686d71
commit 2a6b802bb0
3 changed files with 35 additions and 2 deletions
+10 -2
View File
@@ -1,3 +1,11 @@
#!/bin/sh
rm objs/* -r
rm mcDownloader.jar
ls objs/* > /dev/null 2> /dev/null
HASOBJS=$?
if [ $HASOBJS -eq 0 ]; then
rm objs/* -r
fi
if test -f "mcDownloader.jar"; then
rm mcDownloader.jar
fi