Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/sets add missing RCS Id line to lists/xserver/md.evb...
details: https://anonhg.NetBSD.org/src/rev/d56fe551131d
branches: trunk
changeset: 938214:d56fe551131d
user: rillig <rillig%NetBSD.org@localhost>
date: Fri Sep 04 12:08:59 2020 +0000
description:
add missing RCS Id line to lists/xserver/md.evbmips
diffstat:
distrib/sets/lists/xserver/md.evbmips | 1 +
distrib/sets/sort-list | 7 ++++++-
2 files changed, 7 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r ceeeab8e30d7 -r d56fe551131d distrib/sets/lists/xserver/md.evbmips
--- a/distrib/sets/lists/xserver/md.evbmips Fri Sep 04 12:02:20 2020 +0000
+++ b/distrib/sets/lists/xserver/md.evbmips Fri Sep 04 12:08:59 2020 +0000
@@ -1,3 +1,4 @@
+# $NetBSD: md.evbmips,v 1.14 2020/09/04 12:09:00 rillig Exp $
./usr/X11R7/bin/X xserver-xorg-server-bin xorg
./usr/X11R7/bin/Xorg xserver-xorg-server-bin xorg
./usr/X11R7/bin/cvt xserver-xorg-server-bin xorg
diff -r ceeeab8e30d7 -r d56fe551131d distrib/sets/sort-list
--- a/distrib/sets/sort-list Fri Sep 04 12:02:20 2020 +0000
+++ b/distrib/sets/sort-list Fri Sep 04 12:08:59 2020 +0000
@@ -1,8 +1,13 @@
#!/bin/sh
set -eu
+die() {
+ echo "$*" 1>&2
+ exit 1
+}
+
for fname; do
- { grep '^#' "$fname"
+ { grep '^#' "$fname" || die "Missing comment line in $fname"
grep -v '^#' "$fname" | LC_ALL=C sort
} > "$fname.tmp"
mv "$fname.tmp" "$fname"
Home |
Main Index |
Thread Index |
Old Index