summaryrefslogtreecommitdiff
path: root/mk/install
diff options
context:
space:
mode:
authortv <tv>2004-04-07 14:25:41 +0000
committertv <tv>2004-04-07 14:25:41 +0000
commitde95294ecb358c373e8df11311569ad1ef9d62b2 (patch)
treea03bfae4b7b4fd9195213d79c3fdcf490720bb64 /mk/install
parente2512339cd31824bb2273937dfded79bde54c5cf (diff)
downloadpkgsrc-de95294ecb358c373e8df11311569ad1ef9d62b2.tar.gz
Elide use of "echo -n" in a platform-independent manner.
Diffstat (limited to 'mk/install')
-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