summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmk/tools/msgfmt.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/tools/msgfmt.sh b/mk/tools/msgfmt.sh
index 30f0f5086e0..01214ba22b0 100755
--- a/mk/tools/msgfmt.sh
+++ b/mk/tools/msgfmt.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: msgfmt.sh,v 1.3 2006/04/14 13:40:07 jlam Exp $
+# $NetBSD: msgfmt.sh,v 1.4 2006/04/14 13:43:23 jlam Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -109,7 +109,11 @@ cat $pofile | ${AWK} '
{
s = 0
p = 0
-
+
+ # Treat "obsolete" messages identically with non-"obsolete"
+ # ones so that we do not need to specially handle lines
+ # starting with "#~".
+ #
sub("^#~", "")
# Buffer any "msgid" statements into the singular array.