From 722cfbade578f8c7a13e483b7bf4935497b92455 Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Sun, 2 Oct 2022 01:49:29 +0000 Subject: [PATCH] scripts/makefile_helper: shellcheck changes Signed-off-by: Ian Leonard --- scripts/makefile_helper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/makefile_helper b/scripts/makefile_helper index 019a2b9d6c..f1dd687771 100755 --- a/scripts/makefile_helper +++ b/scripts/makefile_helper @@ -10,7 +10,7 @@ set -e BUILD_ROOT=$(PROJECT= DEVICE= ARCH= . config/options "" && echo "${BUILD_ROOT}") BUILD_BASE=$(PROJECT= DEVICE= ARCH= . config/options "" && echo "${BUILD_BASE}") -if [ -z "${BUILD_BASE}" -o -z "${BUILD_ROOT}" ]; then +if [ -z "${BUILD_BASE}" ] || [ -z "${BUILD_ROOT}" ]; then # make sure variables are set before running an rm echo "error: ${0}: both BUILD_BASE and BUILD_ROOT must be set when running \"[clean|distclean]\"; aborting" exit 1