From d5d1d65bf387fd5b21c0e88de86e903e7dbc2f81 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Wed, 26 Sep 2018 10:07:44 -0700 Subject: [PATCH] fix build failure on repeated runs --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 4c17a226..296c0c9d 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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