Browse Source

host.mk: Don't use bash-ism

SVN-Revision: 22963
Michael Büsch 15 years ago
parent
commit
f54f9b25e1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/host.mk

+ 1 - 1
include/host.mk

@@ -36,7 +36,7 @@ $(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk
 			*) HOST_ARCH=`uname -p`;; \
 			*) HOST_ARCH=`uname -p`;; \
 		esac; \
 		esac; \
 		GNU_HOST_NAME=`gcc -dumpmachine`; \
 		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`; \
 			GNU_HOST_NAME=`$(TOPDIR)/scripts/config.guess`; \
 		echo "HOST_OS:=$$HOST_OS" > $@; \
 		echo "HOST_OS:=$$HOST_OS" > $@; \
 		echo "HOST_ARCH:=$$HOST_ARCH" >> $@; \
 		echo "HOST_ARCH:=$$HOST_ARCH" >> $@; \