diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-10-21 11:11:25 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-11-08 09:38:24 -0500 |
commit | 23d6410c2dc1fc9ce330b020b6287c2e1e334761 (patch) | |
tree | e0a7d40f8b00ff53df5d86655812cba19751dc14 /MAKEALL | |
parent | 76512e0d8484c7081dad78331347b87d8656e25f (diff) | |
download | u-boot-odroid-c1-23d6410c2dc1fc9ce330b020b6287c2e1e334761.tar.gz |
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 <yamada.m@jp.panasonic.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Diffstat (limited to 'MAKEALL')
-rwxr-xr-x | MAKEALL | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ; |