From c1f8c5641cc03b9dbadec6e790eeba4b15a0f5b5 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sat, 19 Oct 2024 13:31:20 -0400 Subject: [PATCH] worfklow: woops 2 --- scripts/helpers/misc.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/helpers/misc.sh b/scripts/helpers/misc.sh index febfa2d..2dc0a6c 100644 --- a/scripts/helpers/misc.sh +++ b/scripts/helpers/misc.sh @@ -65,10 +65,9 @@ update_git_repo() { echo "Cloning repo from $url to $path" git clone "$url" "$path" - chmod +x "$build_command" - echo "Building $url" pushd "$path" > /dev/null + chmod +x "$build_command" eval "$build_command" popd > /dev/null @@ -92,10 +91,9 @@ update_git_repo() { echo 'Pulling...' git -C "$path" pull - chmod +x "$build_command" - echo "Building $url" pushd "$path" > /dev/null + chmod +x "$build_command" eval "$build_command" popd > /dev/null