diff options
author | Alan Hayward <alan.hayward@arm.com> | 2016-06-10 08:53:20 +0000 |
---|---|---|
committer | Alan Hayward <alahay01@gcc.gnu.org> | 2016-06-10 08:53:20 +0000 |
commit | 22d222d2401660d21b8d4f8f2a9b96cee9d852e7 (patch) | |
tree | a96517b5e8fee6d55a16c78201314ddb7ae210cf /contrib | |
parent | 89851e4c1363247b62cbff5a495317f582931c0c (diff) | |
download | gcc-22d222d2401660d21b8d4f8f2a9b96cee9d852e7.zip gcc-22d222d2401660d21b8d4f8f2a9b96cee9d852e7.tar.gz gcc-22d222d2401660d21b8d4f8f2a9b96cee9d852e7.tar.bz2 |
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
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ChangeLog | 4 | ||||
-rwxr-xr-x | contrib/check_GNU_style.sh | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index e3e9bfa..e6eda90 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -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> * config-list.mk (LIST): Add OPT-enable-obsolete to avr-rtems, diff --git a/contrib/check_GNU_style.sh b/contrib/check_GNU_style.sh index a7478f8..87a276c 100755 --- a/contrib/check_GNU_style.sh +++ b/contrib/check_GNU_style.sh @@ -191,7 +191,7 @@ col (){ # Combine prefix back with long lines. # Filter out empty lines. local found=false - paste -d '' "$tmp2" "$tmp3" \ + paste -d '\0' "$tmp2" "$tmp3" \ | grep -v '^[0-9][0-9]*:+$' \ > "$tmp" && found=true |