From 506bb5af8b11f1a1f1fba00d801e75edc6b6f98b Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Fri, 5 Mar 2010 14:13:25 +0100 Subject: [PATCH] fixed test in Makefile to be more wide compliant --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f50bd06..85ab934 100644 --- a/Makefile +++ b/Makefile @@ -258,7 +258,7 @@ $(WORK)/build-test/hello: $(WORK)/build-test/hello.c unset CFLAGS && unset CXXFLAGS && unset CC && \ AR=ar LDFLAGS="-Wl,-rpath,$(CROSSTOOLS)/lib" \ $(TARGET)-gcc -Wall -o hello hello.c - [ "$$(file -b $(WORK)/build-test/hello | cut -d',' -f2 | sed 's| ||g' )" == "ARM" ] || exit 1 + [ "`file -b $(WORK)/build-test/hello | cut -d',' -f2 | sed 's| ||g'`" = "ARM" ] || exit 1 touch $(WORK)/build-test/hello test: gcc-final $(WORK)/build-test/hello -- 2.26.2