pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Recognize argment "-" as $pofile.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b69fc18722d
branches:  trunk
changeset: 528620:5b69fc18722d
user:      obache <obache%pkgsrc.org@localhost>
date:      Thu May 10 15:42:29 2007 +0000

description:
Recognize argment "-" as $pofile.

diffstat:

 mk/tools/msgfmt.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 52dcf7915080 -r 5b69fc18722d mk/tools/msgfmt.sh
--- a/mk/tools/msgfmt.sh        Thu May 10 12:58:27 2007 +0000
+++ b/mk/tools/msgfmt.sh        Thu May 10 15:42:29 2007 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: msgfmt.sh,v 1.27 2007/05/07 09:31:05 obache Exp $
+# $NetBSD: msgfmt.sh,v 1.28 2007/05/10 15:42:29 obache Exp $
 #
 # Copyright (c) 2006 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -117,7 +117,7 @@
                # skip all checks
                shift
                ;;
-       [!-]*)
+       [!-]*|-)
                pofile="$1"
                cmd="$cmd -"; shift
                ;;



Home | Main Index | Thread Index | Old Index