check_GNU_style.sh: Fix paste args for BSD
authorAlan Hayward <alan.hayward@arm.com>
Fri, 10 Jun 2016 08:53:20 +0000 (08:53 +0000)
committerAlan Hayward <alahay01@gcc.gnu.org>
Fri, 10 Jun 2016 08:53:20 +0000 (08:53 +0000)
2016-06-10  Alan Hayward  <alan.hayward@arm.com>

* check_GNU_style.sh: Fix paste args for BSD

From-SVN: r237289

contrib/ChangeLog
contrib/check_GNU_style.sh

index e3e9bfad8bdc395498a598896f6e8aafc18be669..e6eda90d5d3dcb23b9b63d9a9db35da4e680adf2 100644 (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>
 
        * config-list.mk (LIST): Add OPT-enable-obsolete to avr-rtems,
index a7478f8f573132aef5ed1010f0cf5b13f08350d4..87a276c9cf47b5e07c4407f740ce05dce1928c30 100755 (executable)
@@ -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