From 60c73cac78e89a52848b1a54d7409f980642ff06 Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 14 Nov 2024 17:13:47 -0500 Subject: [PATCH] Don't pause on commit hash --- openwrtbuilder | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/openwrtbuilder b/openwrtbuilder index c9b5bb6..b8d4bde 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -508,13 +508,7 @@ from_source() { echo "Current commit hash: $commit" echo "Git worktree description: $description" - if ((DEBUG)); then - if ((YES)); then - git --no-pager -C "$GITWORKTREEDIR" log -1 - else - git -C "$GITWORKTREEDIR" log -1 - fi - fi + ((DEBUG)) && git --no-pager -C "$GITWORKTREEDIR" log -1 # Enter worktree execute pushd "$GITWORKTREEDIR" || return 1