From 5daef8300d1392be4e392261ba8c729830b1d34c Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 27 Feb 2016 15:54:56 -0500 Subject: build system: configure, host.sh: use modern portable shell idioms. --- sysinfo/host/host.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysinfo/host/host.sh') diff --git a/sysinfo/host/host.sh b/sysinfo/host/host.sh index 1fe2515..9caa07b 100755 --- a/sysinfo/host/host.sh +++ b/sysinfo/host/host.sh @@ -10,7 +10,7 @@ host_test() mb_hdrdir=$(pwd)/build mkdir -p $mb_hdrdir || exit 2 - if [ x"$mb_compiler" = x ]; then + if [ -z "$mb_compiler" ]; then echo "config error: compiler not set." exit 2 fi -- cgit v1.2.3