From ff042bfdeeeb0a3d658d5ab1dbdcac7b67aac0f8 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 25 Oct 2007 14:46:35 -0600 Subject: use grep -q --- src/mesa/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/Makefile') diff --git a/src/mesa/Makefile b/src/mesa/Makefile index 8e35efb7dc..77bb7be480 100644 --- a/src/mesa/Makefile +++ b/src/mesa/Makefile @@ -153,10 +153,10 @@ depend: $(ALL_SOURCES) subdirs: - @ if echo $(ASM_FLAGS) | grep USE_X86_ASM ; then \ + @ if echo "$(ASM_FLAGS)" | grep -q USE_X86_ASM ; then \ (cd x86 ; $(MAKE)) ; \ fi - @ if echo $(ASM_FLAGS) | grep USE_X86_64_ASM ; then \ + @ if echo "$(ASM_FLAGS)" | grep -q USE_X86_64_ASM ; then \ (cd x86 ; $(MAKE)) ; \ (cd x86-64 ; $(MAKE)) ; \ fi -- cgit v1.2.3