summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-05-10 15:42:29 +0000
committerobache <obache@pkgsrc.org>2007-05-10 15:42:29 +0000
commit2bce93156693fb39a3e5c1680953fd728d49c995 (patch)
treed1ec9b0f6a18b0dc697a0a895c85306deaa6fdb6 /mk
parent5922b4cedd24b2895f2dd7e8acc8f68646d916f1 (diff)
downloadpkgsrc-2bce93156693fb39a3e5c1680953fd728d49c995.tar.gz
Recognize argment "-" as $pofile.
Diffstat (limited to 'mk')
-rwxr-xr-xmk/tools/msgfmt.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/tools/msgfmt.sh b/mk/tools/msgfmt.sh
index d12d9fce86b..123673b11dc 100755
--- a/mk/tools/msgfmt.sh
+++ b/mk/tools/msgfmt.sh
@@ -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 @@ while test $# -gt 0; do
# skip all checks
shift
;;
- [!-]*)
+ [!-]*|-)
pofile="$1"
cmd="$cmd -"; shift
;;