Fix make-target-contrib for Solaris

It said "test: argument expected" if CC was not set
This commit is contained in:
Douglas Katzman 2020-03-28 19:01:06 -04:00
parent d2e3007555
commit 20ed265537

View file

@ -21,7 +21,7 @@ LC_ALL=C
# Just doing CC=${CC:-cc} may be enough, but it needs to be checked
# that cc is available on all platforms.
if [ -z $CC ]; then
if [ -z "$CC" ]; then
if [ -x "`command -v cc`" ]; then
CC=cc
else