From 097a3c9f09f72ba9618258ede465928494676a15 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Fri, 9 May 2025 15:31:36 +0200 Subject: [PATCH] Update build.func --- misc/build.func | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/misc/build.func b/misc/build.func index 6c10e29..1c4a325 100644 --- a/misc/build.func +++ b/misc/build.func @@ -1334,22 +1334,22 @@ EOF post_update_to_api "done" "none" } -set_std_mode() { - if [ "$VERBOSE" = "yes" ]; then - STD="" - else - STD="silent" - fi -} +# set_std_mode() { +# if [ "$VERBOSE" = "yes" ]; then +# STD="" +# else +# STD="silent" +# fi +# } -# Silent execution function -silent() { - if [ "$VERBOSE" = "no" ]; then - "$@" >/dev/null 2>&1 || return 1 - else - "$@" || return 1 - fi -} +# # Silent execution function +# silent() { +# if [ "$VERBOSE" = "no" ]; then +# "$@" >/dev/null 2>&1 || return 1 +# else +# "$@" || return 1 +# fi +# } api_exit_script() { exit_code=$? # Capture the exit status of the last executed command