MAKEALL: fix awk warning
PATCH 1/1 MAKEALL: fix awk warning
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 ' [email protected]
--->8---
Signed-off-by Andreas Bie?mann <[email protected]>
Cc Albert Aribaud <[email protected]>
---
tested with gawk 4.0.1 here
MAKEALL | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
MAKEALL +2 -2
@@ -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 ;
Signature · 1 line
1.7.10.4
PATCH 1/1 MAKEALL: fix awk warning
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
PATCH 1/1 MAKEALL: fix awk warning
Dear Masahiro Yamada,
Quoted 4 lines · Masahiro Yamada
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