From de04016996017a16727ec744f36b2dbce4253686 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Peters?= Date: Tue, 20 Feb 2018 08:34:49 +0100 Subject: [PATCH] Update generate_config.sh --- generate_config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generate_config.sh b/generate_config.sh index aa600a02f..d8cbe8ace 100755 --- a/generate_config.sh +++ b/generate_config.sh @@ -4,11 +4,11 @@ +set -o errexit +set -o pipefail -if grep --help 2>&1 | head -n 1 | grep -q -i "busybox"; then +if grep --help 2>&1 | grep -q -i "busybox"; then echo "BusybBox grep detected, please install gnu grep, \"apk add --no-cache --upgrade grep\"" exit 1 fi -if cp --help 2>&1 | head -n 1 | grep -q -i "busybox"; then +if cp --help 2>&1 | grep -q -i "busybox"; then echo "BusybBox cp detected, please install coreutils, \"apk add --no-cache --upgrade coreutils\"" exit 1 fi