From 8d15bc1654882d2ca33bf30317fafa42103435ef Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Sat, 25 Jun 2022 13:42:54 +0200 Subject: [PATCH] fix: build script crashing on initial build --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index f717e5a..d3bfed9 100755 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ set -e VERSION="0.1.0" BUILDPATH="build/zip" -rm -rf $BUILDPATH +rm -rf $BUILDPATH || true mkdir -p $BUILDPATH cp -r overrides $BUILDPATH/minecraft mkdir -p $BUILDPATH/minecraft/mods @@ -18,5 +18,5 @@ while read -r mod; do done <../../../../mods.txt cd ../.. -rm ../*.zip +rm ../*.zip || true zip -r "../ac4-$VERSION.zip" ./*