summaryrefslogtreecommitdiff
path: root/contrib/check_GNU_style.sh
diff options
context:
space:
mode:
authorAlan Hayward <alan.hayward@arm.com>2016-06-10 08:53:20 +0000
committerAlan Hayward <alahay01@gcc.gnu.org>2016-06-10 08:53:20 +0000
commit22d222d2401660d21b8d4f8f2a9b96cee9d852e7 (patch)
treea96517b5e8fee6d55a16c78201314ddb7ae210cf /contrib/check_GNU_style.sh
parent89851e4c1363247b62cbff5a495317f582931c0c (diff)
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/check_GNU_style.sh')
-rwxr-xr-xcontrib/check_GNU_style.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/check_GNU_style.sh b/contrib/check_GNU_style.sh
index a7478f8f573..87a276c9cf4 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