environment/build-style/go: check for empty hostmakedepends

This commit is contained in:
q66 2020-04-17 04:58:25 +02:00
parent 1b2bf53e82
commit 02eeac0798

View File

@ -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*"