From: Masahiro Yamada Date: Mon, 21 Oct 2013 02:11:25 +0000 (+0900) Subject: MAKEALL: fix awk warning message X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=23d6410c2dc1fc9ce330b020b6287c2e1e334761;p=u-boot.git 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: Masahiro Yamada Cc: Albert ARIBAUD --- diff --git a/MAKEALL b/MAKEALL index a9253d3490..b03522957d 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 '\$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 ;