pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/tools Allow for arbitrary whitespace on the line be...
details: https://anonhg.NetBSD.org/pkgsrc/rev/df0e79630110
branches: trunk
changeset: 514938:df0e79630110
user: jlam <jlam%pkgsrc.org@localhost>
date: Tue Jun 20 22:35:25 2006 +0000
description:
Allow for arbitrary whitespace on the line before seeing any of the
msg* keywords. This fixes parsing es.po in multimedia/gmencoder noted
in the bulk build results:
http://mail-index.netbsd.org/pkgsrc-bulk/2006/06/20/0000.html
diffstat:
mk/tools/msgfmt.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 75223ed41f10 -r df0e79630110 mk/tools/msgfmt.sh
--- a/mk/tools/msgfmt.sh Tue Jun 20 22:32:57 2006 +0000
+++ b/mk/tools/msgfmt.sh Tue Jun 20 22:35:25 2006 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: msgfmt.sh,v 1.22 2006/06/13 13:30:40 jlam Exp $
+# $NetBSD: msgfmt.sh,v 1.23 2006/06/20 22:35:25 jlam Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -130,9 +130,9 @@
SPACE = "[ ]*"
KEYWORD_SEP = "([ ]+|[ ]*\"|$)"
OBSOLETE = "#~ "
- OBSOLETE_RE = "^(#~[ ]+)?"
+ OBSOLETE_RE = "^(#~[ ]+)?[ ]*"
OBSOLETE_RE_MATCH = "^#~[ ]+"
- MSG_CONTINUATION_RE = OBSOLETE_RE "[ ]*\""
+ MSG_CONTINUATION_RE = OBSOLETE_RE "\""
result = getline
if (result < 1) exit result
Home |
Main Index |
Thread Index |
Old Index