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
+16
View File
@@ -0,0 +1,16 @@
if test -f "mcDownloader.jar"; then
rm mcDownloader.jar
fi
pwd
LIBS=$( cd objs/ && ls ../libs/*.jar)
echo $LIBS
cd objs
for lib in ${LIBS}; do
jar -xf $lib
done
rm META-INF -r
jar cfm ../mcDownloader.jar ../MANIFEST.MF *