check_GNU_style.sh: Fix paste args for BSD

2016-06-10  Alan Hayward  <alan.hayward@arm.com>

	* check_GNU_style.sh: Fix paste args for BSD

From-SVN: r237289
This commit is contained in:
Alan Hayward 2016-06-10 08:53:20 +00:00 committed by Alan Hayward
parent 89851e4c13
commit 22d222d240
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2016-06-10 Alan Hayward <alan.hayward@arm.com>
* check_GNU_style.sh: Fix paste args for BSD
2016-06-09 David Malcolm <dmalcolm@redhat.com> 2016-06-09 David Malcolm <dmalcolm@redhat.com>
* config-list.mk (LIST): Add OPT-enable-obsolete to avr-rtems, * config-list.mk (LIST): Add OPT-enable-obsolete to avr-rtems,

View File

@ -191,7 +191,7 @@ col (){
# Combine prefix back with long lines. # Combine prefix back with long lines.
# Filter out empty lines. # Filter out empty lines.
local found=false local found=false
paste -d '' "$tmp2" "$tmp3" \ paste -d '\0' "$tmp2" "$tmp3" \
| grep -v '^[0-9][0-9]*:+$' \ | grep -v '^[0-9][0-9]*:+$' \
> "$tmp" && found=true > "$tmp" && found=true