pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/install Elide use of "echo -n" in a platform-indepe...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ea774dd40ac4
branches: trunk
changeset: 472281:ea774dd40ac4
user: tv <tv%pkgsrc.org@localhost>
date: Wed Apr 07 14:25:41 2004 +0000
description:
Elide use of "echo -n" in a platform-independent manner.
diffstat:
mk/install/deinstall | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (43 lines):
diff -r 6c733f1cc3be -r ea774dd40ac4 mk/install/deinstall
--- a/mk/install/deinstall Wed Apr 07 14:14:12 2004 +0000
+++ b/mk/install/deinstall Wed Apr 07 14:25:41 2004 +0000
@@ -1,6 +1,6 @@
# start of deinstall
#
-# $NetBSD: deinstall,v 1.25 2003/11/23 07:14:43 jlam Exp $
+# $NetBSD: deinstall,v 1.26 2004/04/07 14:25:41 tv Exp $
eval set -- ${PKG_USERS}
for userset; do
@@ -194,25 +194,25 @@
EOF
if [ -n "${ALL_USERS}" ]; then
${ECHO} ""
- ${ECHO} -n " * the following users"
+ allusersmsg=" * the following users"
sep=": "
eval set -- ${ALL_USERS}
for user; do
- ${ECHO} -n "${sep}${user}"
+ allusersmsg="${allusersmsg}${sep}${user}"
sep=", "
done
- ${ECHO} ""
+ ${ECHO} "${allusersmsg}"
fi
if [ -n "${ALL_GROUPS}" ]; then
${ECHO} ""
- ${ECHO} -n " * the following groups"
+ allgroupsmsg=" * the following groups"
sep=": "
eval set -- ${ALL_GROUPS}
for group; do
- ${ECHO} -n "${sep}${group}"
+ allgroupsmsg="${allgroupsmsg}${sep}${group}"
sep=", "
done
- ${ECHO} ""
+ ${ECHO} "${allgroupsmsg}"
fi
if [ -n "${modified_files}" ]; then
${CAT} << EOF
Home |
Main Index |
Thread Index |
Old Index