From 5afcd633d5e972faf4bef05e59e6713da36080e6 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Mon, 3 Jul 2023 15:37:27 +0400 Subject: [PATCH] Abort script execution if cannot apply patches --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index c675eb6..cb73481 100755 --- a/build.sh +++ b/build.sh @@ -47,8 +47,8 @@ title 'Cloning repositories...' [ -e reqwest4j ] || clone https://github.com/TeamPiped/reqwest4j reqwest4j title 'Applying patches...' -cd_and_exec backend try_exec git apply ../backend.patch -cd_and_exec reqwest4j try_exec git apply ../reqwest4j.patch +cd_and_exec backend git apply ../backend.patch +cd_and_exec reqwest4j git apply ../reqwest4j.patch # ---