From fe90ace18fb969b1014727662e4d7c407a388ddc Mon Sep 17 00:00:00 2001 From: Marcel Telka <marcel@telka.sk> Date: Mon, 08 May 2023 06:29:04 +0200 Subject: [PATCH] tools/perl-integrate-module: fail if previous Makefile is broken --- tools/perl-integrate-module | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tools/perl-integrate-module b/tools/perl-integrate-module index 2859b1f..f2493f4 100755 --- a/tools/perl-integrate-module +++ b/tools/perl-integrate-module @@ -133,6 +133,7 @@ NEW=0 REBUILD=1 PREV_VER=$($GMAKE print-value-COMPONENT_VERSION 2>/dev/null) + (($? != 0)) && printf "FATAL: 'gmake print-value-COMPONENT_VERSION' failed!\n" >&2 && exit 1 PREV_REV=$($GMAKE print-value-COMPONENT_REVISION 2>/dev/null) # If we were asked to do version upgrade, but we do not have new -- Gitblit v1.9.3