host.mk: Don't use bash-ism
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 Sep 2010 21:22:54 +0000 (21:22 +0000)
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 Sep 2010 21:22:54 +0000 (21:22 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22963 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/host.mk

index 8092e8d..f3e47c8 100644 (file)
@@ -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" >> $@; \
This page took 0.02711 seconds and 4 git commands to generate.