From: Michael Büsch Date: Mon, 6 Sep 2010 21:22:54 +0000 (+0000) Subject: host.mk: Don't use bash-ism X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=9897091ef88dc9f0a83aaac57a23d681287b20e3 host.mk: Don't use bash-ism SVN-Revision: 22963 --- diff --git a/include/host.mk b/include/host.mk index 8092e8db77..f3e47c8723 100644 --- a/include/host.mk +++ b/include/host.mk @@ -36,7 +36,7 @@ $(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk *) HOST_ARCH=`uname -p`;; \ esac; \ GNU_HOST_NAME=`gcc -dumpmachine`; \ - [ -z "$$GNU_HOST_NAME" -o "$$HOST_OS" == "Darwin" ] && \ + [ -z "$$GNU_HOST_NAME" -o "$$HOST_OS" = "Darwin" ] && \ GNU_HOST_NAME=`$(TOPDIR)/scripts/config.guess`; \ echo "HOST_OS:=$$HOST_OS" > $@; \ echo "HOST_ARCH:=$$HOST_ARCH" >> $@; \