diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-10-25 14:46:35 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-10-25 14:48:08 -0600 |
commit | 9af5153410e14f60b551d6724643561ed4e7aefa (patch) | |
tree | c6ffa6547f76e6c021e34adcc7fc814737852a03 | |
parent | 0e2103689e6406be109e36a85b8e988ef2dc84d6 (diff) |
use grep -q
-rw-r--r-- | src/mesa/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile index 05cb27cca8..eea8eb9bde 100644 --- a/src/mesa/Makefile +++ b/src/mesa/Makefile @@ -154,10 +154,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 |