From 4cd754530e1db68b6be93e8b084685e50470fe1d Mon Sep 17 00:00:00 2001 From: EasyNetDev Date: Mon, 17 Jun 2024 15:15:20 +0200 Subject: [PATCH] Fix the confusing warning: ERROR! Source file debian/changelog.in missing. --- scripts/build-package-files.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build-package-files.sh b/scripts/build-package-files.sh index 7d08f3dc..2915fead 100755 --- a/scripts/build-package-files.sh +++ b/scripts/build-package-files.sh @@ -10,8 +10,9 @@ fi INFILE_PATH=${1}${INFILE_SUFFIX} -if [ -e ${INFILE_PATH} ]; then +if [ ! -e ${INFILE_PATH} ]; then echo "ERROR! Source file ${INFILE_PATH} missing." + exit 1 fi if [ -e ${1} ]; then