From 9cec2361deb8ca0a6cb1e25e52f45eb1054c56a2 Mon Sep 17 00:00:00 2001 From: otavepto <153766569+otavepto@users.noreply.github.com> Date: Wed, 27 Dec 2023 17:08:38 +0200 Subject: [PATCH] overall result message in all deps build scripts --- build_linux_deps.sh | 7 +++++++ build_win_deps.bat | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/build_linux_deps.sh b/build_linux_deps.sh index 67fcb360..e81968a4 100644 --- a/build_linux_deps.sh +++ b/build_linux_deps.sh @@ -357,4 +357,11 @@ popd echo; echo; +echo; +if [[ $last_code = 0 ]]; then + echo "[GG] no failures" +else + echo "[XX] general failure" >&2 +fi + exit $last_code diff --git a/build_win_deps.bat b/build_win_deps.bat index a1a8ff19..046bead4 100644 --- a/build_win_deps.bat +++ b/build_win_deps.bat @@ -408,6 +408,12 @@ exit /b exit /b 1 :end_script +echo: +if %last_code% equ 0 ( + echo [GG] no failures +) else ( + 1>&2 echo [XX] general failure +) popd endlocal & ( exit /b %last_code%