Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/radeon Handle more kinds of empty lines.



details:   https://anonhg.NetBSD.org/src/rev/00085a25d6e2
branches:  trunk
changeset: 1027759:00085a25d6e2
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 00:25:26 2021 +0000

description:
Handle more kinds of empty lines.


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/radeon/radeon2netbsd |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 1f2652c3f4a2 -r 00085a25d6e2 sys/external/bsd/drm2/radeon/radeon2netbsd
--- a/sys/external/bsd/drm2/radeon/radeon2netbsd        Sun Dec 19 00:25:19 2021 +0000
+++ b/sys/external/bsd/drm2/radeon/radeon2netbsd        Sun Dec 19 00:25:26 2021 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-#      $NetBSD: radeon2netbsd,v 1.2 2018/08/27 14:38:20 riastradh Exp $
+#      $NetBSD: radeon2netbsd,v 1.3 2021/12/19 00:25:26 riastradh Exp $
 #
 # $ /path/to/radeon2netbsd > /path/to/files.radeon.new
 #
@@ -20,7 +20,7 @@
 env src=. \
 make -f Makefile -V '$(radeon-y)' \
 | tr ' ' '\n' \
-| grep -v '^$' \
+| grep -v -e '^[[:space:]]*$' \
 | sed -e 's,\.o$,.c,' \
 | sort -u \
 | awk '



Home | Main Index | Thread Index | Old Index