summaryrefslogtreecommitdiff
path: root/bin/doins
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-05-01 21:12:04 +0000
committerSimon Stelling <blubb@gentoo.org>2006-05-01 21:12:04 +0000
commit1f8b4927f9e7f7a1918cc8d522ead79ce0aeae99 (patch)
tree4cf7182aa108f06aa07c2b3b53199b7ceca50b52 /bin/doins
parentrevert my last commit except for the parts i really wanted to commit (diff)
downloadportage-multirepo-1f8b4927f9e7f7a1918cc8d522ead79ce0aeae99.tar.gz
portage-multirepo-1f8b4927f9e7f7a1918cc8d522ead79ce0aeae99.tar.bz2
portage-multirepo-1f8b4927f9e7f7a1918cc8d522ead79ce0aeae99.zip
make portage shut up if --quiet is given; bug 62273
svn path=/main/trunk/; revision=3296
Diffstat (limited to 'bin/doins')
-rwxr-xr-xbin/doins10
1 files changed, 6 insertions, 4 deletions
diff --git a/bin/doins b/bin/doins
index 99e3ffb3..aab6e991 100755
--- a/bin/doins
+++ b/bin/doins
@@ -3,6 +3,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Id: /var/cvsroot/gentoo-src/portage/bin/doins,v 1.7.2.2 2004/12/17 22:25:13 carpaski Exp $
+source /usr/lib/portage/bin/isolated-functions.sh
+
if [ $# -lt 1 ] ; then
echo "${0}: at least one argument needed"
exit 1
@@ -21,10 +23,10 @@ if [ ${INSDEPTH} -gt 30 ] ; then
fi
if [ "${INSDESTTREE%${D}*}" == "" ]; then
- echo "-------------------------------------------------------" 1>&2
- echo "You should not use \${D} with helpers." 1>&2
- echo " --> ${INSDESTTREE}" 1>&2
- echo "-------------------------------------------------------" 1>&2
+ vecho "-------------------------------------------------------" 1>&2
+ vecho "You should not use \${D} with helpers." 1>&2
+ vecho " --> ${INSDESTTREE}" 1>&2
+ vecho "-------------------------------------------------------" 1>&2
#exit 1
fi