All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] MAKEALL: fix awk warning
@ 2013-11-06 12:19 Andreas Bießmann
  2013-11-08  2:01 ` Masahiro Yamada
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Bießmann @ 2013-11-06 12:19 UTC (permalink / raw)
  To: u-boot

This fixes following warning:

---8<---
abiessmann at 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 <andreas.devel@googlemail.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
---
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 ;
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] MAKEALL: fix awk warning
  2013-11-06 12:19 [U-Boot] [PATCH] MAKEALL: fix awk warning Andreas Bießmann
@ 2013-11-08  2:01 ` Masahiro Yamada
  2013-11-08  9:05   ` Andreas Bießmann
  0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2013-11-08  2:01 UTC (permalink / raw)
  To: u-boot

Hello, Andreas.

I already posted a patch to fix this issue.
http://patchwork.ozlabs.org/patch/285071/


Tom, when would be possible to apply my patch?


Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] MAKEALL: fix awk warning
  2013-11-08  2:01 ` Masahiro Yamada
@ 2013-11-08  9:05   ` Andreas Bießmann
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Bießmann @ 2013-11-08  9:05 UTC (permalink / raw)
  To: u-boot

Dear Masahiro Yamada,

On 11/08/2013 03:01 AM, Masahiro Yamada wrote:
> Hello, Andreas.
> 
> I already posted a patch to fix this issue.
> http://patchwork.ozlabs.org/patch/285071/

sorry, haven't seen that patch. Please ignore my patch then.

Best regards

Andreas Bie?mann

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-08  9:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-06 12:19 [U-Boot] [PATCH] MAKEALL: fix awk warning Andreas Bießmann
2013-11-08  2:01 ` Masahiro Yamada
2013-11-08  9:05   ` Andreas Bießmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.