summaryrefslogtreecommitdiff
path: root/mk/install
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
commit10221183034db307276a34771d4a567867ed67a7 (patch)
treea03bfae4b7b4fd9195213d79c3fdcf490720bb64 /mk/install
parent5f626dbf5bd0dc29bbd7fcb31f03371fea08ef4c (diff)
downloadpkgsrc-10221183034db307276a34771d4a567867ed67a7.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