From patchwork Thu Apr 28 11:32:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joonas Lahtinen X-Patchwork-Id: 8968561 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7B7A59F1C1 for ; Thu, 28 Apr 2016 11:31:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B42552024D for ; Thu, 28 Apr 2016 11:31:15 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 8899E201F5 for ; Thu, 28 Apr 2016 11:31:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 01A646ECB6; Thu, 28 Apr 2016 11:31:11 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id 9F4916ECB6 for ; Thu, 28 Apr 2016 11:31:09 +0000 (UTC) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 28 Apr 2016 04:31:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,546,1455004800"; d="scan'208";a="964563079" Received: from jlahtine-desk.ger.corp.intel.com ([10.252.10.212]) by orsmga002.jf.intel.com with ESMTP; 28 Apr 2016 04:31:09 -0700 From: Joonas Lahtinen To: Intel graphics driver community testing & development Date: Thu, 28 Apr 2016 14:32:19 +0300 Message-Id: <1461843140-19122-1-git-send-email-joonas.lahtinen@linux.intel.com> X-Mailer: git-send-email 2.5.5 Cc: Daniel Vetter Subject: [Intel-gfx] [PATCH maintainer-tools 1/2] dim: Use -e on warn_or_fail to allow fo newlines X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Joonas Lahtinen --- dim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dim b/dim index d9c1be5..dbcb7d9 100755 --- a/dim +++ b/dim @@ -118,9 +118,9 @@ HELP= function warn_or_fail { if [[ $FORCE ]] ; then - echo WARNING: $1, but continuing + echo -e WARNING: $1, but continuing else - echo ERROR: $1, aborting + echo -e ERROR: $1, aborting exit 1 fi }