From a521efec213628eaab97d5f3db32cd0ddfb5ad68 Mon Sep 17 00:00:00 2001 From: pika Date: Fri, 30 May 2025 17:46:13 +0200 Subject: [PATCH] wip --- gbar.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gbar.sh b/gbar.sh index d01b6b5..58da600 100644 --- a/gbar.sh +++ b/gbar.sh @@ -94,11 +94,14 @@ cd "$cloneDir" || silentexec mkdir "$cloneDir" && cd "$cloneDir" if run --err err git clone --depth=1 https://github.com/scorpion-26/gBar.git gbar; then + upclear check "Cloned $PACKAGE-sources" - cd gbar + cd ./gbar else + upclear throw "Error cloning $PACKAGE-sources!" echo-error "${err:-}" + exit 69 fi spin "Building $PACKAGE.." @@ -107,6 +110,7 @@ else throw "Error building $PACKAGE" echo-error "${err:-}" + exit 69 fi # run ninja -C build