From 2c496d8e46dc5a4cfa2172bea922622f0429f5a9 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 25 Oct 2007 11:10:10 -0600 Subject: [PATCH] simplify/fix the ASM_FLAGS tests (bug 12931) --- src/mesa/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/Makefile b/src/mesa/Makefile index 029ba8468f4..05cb27cca82 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 USE_X86_ASM ; then \ (cd x86 ; $(MAKE)) ; \ fi - @ if [ `echo $(ASM_FLAGS) | grep USE_X86_64_ASM` ] ; then \ + @ if echo $(ASM_FLAGS) | grep USE_X86_64_ASM ; then \ (cd x86 ; $(MAKE)) ; \ (cd x86-64 ; $(MAKE)) ; \ fi