fix build failure on repeated runs

This commit is contained in:
Leijurv 2018-09-26 10:07:44 -07:00
parent fb45d73406
commit d5d1d65bf3
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -16,7 +16,7 @@ cat api.pro | grep -v "\-keep class baritone.api" > standalone.pro # standalone
#unzip tempLibraries.zip
#instead of downloading these jars from my dropbox in a zip, just assume gradle's already got them for us
mkdir tempLibraries
mkdir -p tempLibraries
cat proguard.pro | grep tempLibraries | grep .jar | cut -d "/" -f 2- | cut -d "'" -f -1 | xargs -n1 -I{} bash -c "find ~/.gradle -name {}" | tee /dev/stderr | xargs -n1 -I{} cp {} tempLibraries
mkdir ../../dist