From 02eeac07988761d893d86af57135d5c9b5979a0c Mon Sep 17 00:00:00 2001 From: q66 Date: Fri, 17 Apr 2020 04:58:25 +0200 Subject: [PATCH] environment/build-style/go: check for empty hostmakedepends --- common/environment/build-style/go.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/environment/build-style/go.sh b/common/environment/build-style/go.sh index a0cf330d600..3f83013d4f7 100644 --- a/common/environment/build-style/go.sh +++ b/common/environment/build-style/go.sh @@ -1,4 +1,4 @@ -if [ "${hostmakedepends##*gcc-go-tools*}" ]; then +if [ -z "$hostmakedepends" -o "${hostmakedepends##*gcc-go-tools*}" ]; then # gc compiler if [ -z "$archs" ]; then archs="aarch64* armv[567]* i686* x86_64* ppc64le*"