Skip to content
Snippets Groups Projects
Commit 23d6410c authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini
Browse files

MAKEALL: fix awk warning message


If you do `./MAKEALL -M ` or `./MAKEALL -m`
GNU awk would display warnings like follows:

    awk: warning: escape sequence `\ ' treated as plain ` '

In the first place, we do not explicitly set the field separator.

Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
parent 76512e0d
No related branches found
No related tags found
No related merge requests found
......@@ -518,7 +518,7 @@ get_target_location() {
local vendor=""
# Automatic mode
local line=`awk -F '\ +' '\$7 == "'"$target"'" { print \$0 }' boards.cfg`
local line=`awk '\$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 '\$7 == "'"$target"'" { print \$0 }' boards.cfg`
if [ -z "${line}" ]; then
echo ""
return ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment