From patchwork Wed Nov 6 12:19:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_Bie=C3=9Fmann?= X-Patchwork-Id: 288859 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 0576F2C0089 for ; Wed, 6 Nov 2013 23:20:03 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 93E794A2EF; Wed, 6 Nov 2013 13:19:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b3c9vXlhYa2x; Wed, 6 Nov 2013 13:19:57 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3C8EF4A2C6; Wed, 6 Nov 2013 13:19:47 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4AA1C4A2A7 for ; Wed, 6 Nov 2013 13:19:42 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IoFCz-5Mo7y6 for ; Wed, 6 Nov 2013 13:19:31 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-ee0-f51.google.com (mail-ee0-f51.google.com [74.125.83.51]) by theia.denx.de (Postfix) with ESMTPS id 50F0D4A31F for ; Wed, 6 Nov 2013 13:19:24 +0100 (CET) Received: by mail-ee0-f51.google.com with SMTP id t10so2453658eei.38 for ; Wed, 06 Nov 2013 04:19:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=Nsza2fw7PULNLFcGoKeiuVsTOO+y43Y4Q+VhUInUxRY=; b=WorOSnyXRtvTTwTOhdW8sitQ87rdT1YkmQix6NSqsIBLu6jRGCEM2vwYjsCgEw7zKJ tcbJ39GKyMKeUBSi0Vbeb1roEr2i11JUXiUEBsKJmtViosekUk0+G5vndlFe85KmLkXd 6aXgEgwJ6+3SGajDmnz/wSTDHsPBmBoEl+VPH/fp5nfHLKc2vru4yvVdFoW6H8vJuzj8 S5ENblQygOcw28dvU9AS5UolsCtEoN5RsI6xV85fTr8A9DKwnsIbrpntn+kwxgAkYPlh W8UGSuLJaQc1PWSJctJDZEPVHJxOPzyUvOe7Z2brrAgCfhfDwXzOkYaPTiFrWSgYmH6s oZmg== X-Received: by 10.14.203.70 with SMTP id e46mr3183958eeo.33.1383740362681; Wed, 06 Nov 2013 04:19:22 -0800 (PST) Received: from localhost ([2a01:198:47b:1:210:75ff:fe1a:cd1e]) by mx.google.com with ESMTPSA id y7sm23719890eea.5.2013.11.06.04.19.20 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 06 Nov 2013 04:19:21 -0800 (PST) From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= To: U-Boot ML Date: Wed, 6 Nov 2013 13:19:12 +0100 Message-Id: <1383740352-14756-1-git-send-email-andreas.devel@googlemail.com> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 Subject: [U-Boot] [PATCH] MAKEALL: fix awk warning X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de This fixes following warning: ---8<--- abiessmann@punisher % ./MAKEALL -m at91rm9200ek at91rm9200ek:awk: warning: escape sequence `\ ' treated as plain ` ' awk: warning: escape sequence `\ ' treated as plain ` ' andreas.devel@gmail.com --->8--- Signed-off-by: Andreas Bießmann Cc: Albert Aribaud --- tested with gawk 4.0.1 here MAKEALL | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAKEALL b/MAKEALL index a9253d3..b03f87b 100755 --- a/MAKEALL +++ b/MAKEALL @@ -518,7 +518,7 @@ get_target_location() { local vendor="" # Automatic mode - local line=`awk -F '\ +' '\$7 == "'"$target"'" { print \$0 }' boards.cfg` + local line=`awk -F ' +' '\$7 == "'"$target"'" { print \$0 }' boards.cfg` if [ -z "${line}" ] ; then echo "" ; return ; fi set ${line} @@ -556,7 +556,7 @@ get_target_location() { get_target_maintainers() { local name=`echo $1 | cut -d : -f 3` - local line=`awk -F '\ +' '\$7 == "'"$target"'" { print \$0 }' boards.cfg` + local line=`awk -F ' +' '\$7 == "'"$target"'" { print \$0 }' boards.cfg` if [ -z "${line}" ]; then echo "" return ;