Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754552Ab3HVU0d (ORCPT ); Thu, 22 Aug 2013 16:26:33 -0400 Received: from mail-lb0-f169.google.com ([209.85.217.169]:50148 "EHLO mail-lb0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754256Ab3HVUZo (ORCPT ); Thu, 22 Aug 2013 16:25:44 -0400 From: Max Filippov To: linux-kernel@vger.kernel.org Cc: Sam Ravnborg , Guenter Roeck , Max Filippov , NeilBrown , Jim Kukunas , "H. Peter Anvin" , Yuanhan Liu Subject: [PATCH v2 3/5] raid6/test: replace echo -e with printf Date: Fri, 23 Aug 2013 00:25:23 +0400 Message-Id: <1377203125-22934-4-git-send-email-jcmvbkbc@gmail.com> X-Mailer: git-send-email 1.7.7.6 In-Reply-To: <1377203125-22934-1-git-send-email-jcmvbkbc@gmail.com> References: <1377203125-22934-1-git-send-email-jcmvbkbc@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1377 Lines: 35 -e is a non-standard echo option, echo output is implementation-dependent when it is used. Replace echo -e with printf as suggested by POSIX echo manual. Cc: NeilBrown Cc: Jim Kukunas Cc: "H. Peter Anvin" Cc: Yuanhan Liu Signed-off-by: Max Filippov Acked-by: H. Peter Anvin --- lib/raid6/test/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/raid6/test/Makefile b/lib/raid6/test/Makefile index 087332d..73b0151 100644 --- a/lib/raid6/test/Makefile +++ b/lib/raid6/test/Makefile @@ -28,7 +28,7 @@ ifeq ($(IS_X86),yes) gcc -c -x assembler - >&/dev/null && \ rm ./-.o && echo -DCONFIG_AS_AVX2=1) else - HAS_ALTIVEC := $(shell echo -e '\#include \nvector int a;' |\ + HAS_ALTIVEC := $(shell printf '\#include \nvector int a;\n' |\ gcc -c -x c - >&/dev/null && \ rm ./-.o && echo yes) ifeq ($(HAS_ALTIVEC),yes) -- 1.7.7.6 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/