summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-04-07 14:25:41 +0000
committertv <tv@pkgsrc.org>2004-04-07 14:25:41 +0000
commitdecc954bc5297a229d6d55c3347c256eae704166 (patch)
treea03bfae4b7b4fd9195213d79c3fdcf490720bb64
parentf998eee832dfbd67c4988fd1b2fd650ce499a09c (diff)
downloadpkgsrc-decc954bc5297a229d6d55c3347c256eae704166.tar.gz
Elide use of "echo -n" in a platform-independent manner.
-rw-r--r--mk/install/deinstall14
1 files changed, 7 insertions, 7 deletions
diff --git a/mk/install/deinstall b/mk/install/deinstall
index 71bce248e18..69b9d84a351 100644
--- a/mk/install/deinstall
+++ b/mk/install/deinstall
@@ -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 @@ If you won't be using ${PKGNAME} any longer, you may want to remove
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