summaryrefslogtreecommitdiff
path: root/distrib/miniroot/list2sh.awk
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/miniroot/list2sh.awk')
-rw-r--r--distrib/miniroot/list2sh.awk6
1 files changed, 4 insertions, 2 deletions
diff --git a/distrib/miniroot/list2sh.awk b/distrib/miniroot/list2sh.awk
index c42f84e2e8a..a85f3ece233 100644
--- a/distrib/miniroot/list2sh.awk
+++ b/distrib/miniroot/list2sh.awk
@@ -1,4 +1,4 @@
-# $OpenBSD: list2sh.awk,v 1.16 2009/06/04 00:44:47 krw Exp $
+# $OpenBSD: list2sh.awk,v 1.17 2012/03/19 08:30:08 nicm Exp $
# $NetBSD: list2sh.awk,v 1.2 1996/05/04 15:45:31 pk Exp $
BEGIN {
@@ -93,8 +93,10 @@ $1 == "SPECIAL" {
next;
}
$1 == "TERMCAP" {
+# tic -r flag may generate harmless warning about pccon+base:
+# "terminal 'pccon+base': enter_reverse_mode but no exit_attribute_mode"
printf("echo '%s'\n", $0);
- printf("(cd ${TARGDIR}; tic -C -x -r -e %s ${UTILS}/../../share/termtypes/termtypes.master | sed -e '/^#.*/d' -e 's,/usr/share/lib/tabset,/usr/share/tabset,g' -e 's,/usr/lib/tabset,/usr/share/tabset,g' > %s)\n",
+ printf("(cd ${TARGDIR}; tic -C -x -r -e %s ${UTILS}/../../share/termtypes/termtypes.master | sed -e '/^#.*/d' -e '/^$$/d' > %s)\n",
$2, $3);
next;
}