From d2968bd12226f03c728bde3de06a396eeaeff1f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bence=20Sz=C3=A9pk=C3=BAti?= Date: Thu, 6 May 2021 09:55:44 +0200 Subject: [PATCH] Explicitly specify exit code for "exit /b" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "exit /b" without an explicit exit value doesn't copy the value of the last command executed, causing issues on Jenkins. Signed-off-by: Bence Szépkúti --- scripts/make_generated_files.bat | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/make_generated_files.bat b/scripts/make_generated_files.bat index 4c4b53eeab..e4465d8f09 100644 --- a/scripts/make_generated_files.bat +++ b/scripts/make_generated_files.bat @@ -1,9 +1,9 @@ @rem Generate automatically-generated configuration-independent source files @rem and build scripts. @rem Perl and Python 3 must be on the PATH. -perl scripts\generate_errors.pl || exit /b -perl scripts\generate_query_config.pl || exit /b -perl scripts\generate_features.pl || exit /b -perl scripts\generate_visualc_files.pl || exit /b -python scripts\generate_psa_constants.py || exit /b -python tests\scripts\generate_psa_tests.py || exit /b +perl scripts\generate_errors.pl || exit /b 1 +perl scripts\generate_query_config.pl || exit /b 1 +perl scripts\generate_features.pl || exit /b 1 +perl scripts\generate_visualc_files.pl || exit /b 1 +python scripts\generate_psa_constants.py || exit /b 1 +python tests\scripts\generate_psa_tests.py || exit /b 1