pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/tools Use the correct cat command.
details: https://anonhg.NetBSD.org/pkgsrc/rev/aef72ec60fba
branches: trunk
changeset: 511432:aef72ec60fba
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Apr 14 13:49:17 2006 +0000
description:
Use the correct cat command.
diffstat:
mk/tools/gettext.mk | 4 ++--
mk/tools/msgfmt.sh | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
diffs (46 lines):
diff -r ba0d10c1c18f -r aef72ec60fba mk/tools/gettext.mk
--- a/mk/tools/gettext.mk Fri Apr 14 13:48:33 2006 +0000
+++ b/mk/tools/gettext.mk Fri Apr 14 13:49:17 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gettext.mk,v 1.2 2006/04/13 19:24:29 jlam Exp $
+# $NetBSD: gettext.mk,v 1.3 2006/04/14 13:49:17 jlam Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -95,7 +95,7 @@
. else
USE_TOOLS+= awk sh
TOOLS_PATH.msgfmt= ${PKGSRCDIR}/mk/tools/msgfmt.sh
-TOOLS_SCRIPT.msgfmt= AWK=${TOOLS_AWK:Q} \
+TOOLS_SCRIPT.msgfmt= AWK=${TOOLS_AWK:Q} CAT=${TOOLS_CAT:Q} \
MSGFMT=${TOOLS_PLATFORM.msgfmt:Q} \
${TOOLS_SH} ${TOOLS_PATH.msgfmt} "$$@"
. endif
diff -r ba0d10c1c18f -r aef72ec60fba mk/tools/msgfmt.sh
--- a/mk/tools/msgfmt.sh Fri Apr 14 13:48:33 2006 +0000
+++ b/mk/tools/msgfmt.sh Fri Apr 14 13:49:17 2006 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: msgfmt.sh,v 1.4 2006/04/14 13:43:23 jlam Exp $
+# $NetBSD: msgfmt.sh,v 1.5 2006/04/14 13:49:17 jlam Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -65,6 +65,7 @@
# POSSIBILITY OF SUCH DAMAGE.
: ${AWK=awk}
+: ${CAT=cat}
: ${MSGFMT=/usr/bin/msgfmt}
case "${MSGFMT}" in
@@ -105,7 +106,7 @@
test -z "$version" || exec $cmd
test -n "$pofile" || exec $cmd
-cat $pofile | ${AWK} '
+${CAT} $pofile | ${AWK} '
{
s = 0
p = 0
Home |
Main Index |
Thread Index |
Old Index