diff options
author | midipix <writeonce@midipix.org> | 2016-02-27 15:54:56 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-02-27 16:18:25 -0500 |
commit | 5daef8300d1392be4e392261ba8c729830b1d34c (patch) | |
tree | 612b8e494a974074fb4d71efd1292a8ecea59983 /sysinfo/host | |
parent | 9757759507cf3a30f967cddb4f339fbcb5766cde (diff) | |
download | ntapi-5daef8300d1392be4e392261ba8c729830b1d34c.tar.bz2 ntapi-5daef8300d1392be4e392261ba8c729830b1d34c.tar.xz |
build system: configure, host.sh: use modern portable shell idioms.
Diffstat (limited to 'sysinfo/host')
-rwxr-xr-x | sysinfo/host/host.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |