From: Brian Date: Thu, 25 Oct 2007 20:46:35 +0000 (-0600) Subject: use grep -q X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff042bfdeeeb0a3d658d5ab1dbdcac7b67aac0f8;p=mesa.git use grep -q --- diff --git a/src/mesa/Makefile b/src/mesa/Makefile index 8e35efb7dca..77bb7be4806 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