diff options
author | Simon Stelling <blubb@gentoo.org> | 2006-05-01 21:12:04 +0000 |
---|---|---|
committer | Simon Stelling <blubb@gentoo.org> | 2006-05-01 21:12:04 +0000 |
commit | 1f8b4927f9e7f7a1918cc8d522ead79ce0aeae99 (patch) | |
tree | 4cf7182aa108f06aa07c2b3b53199b7ceca50b52 /bin/prepall | |
parent | d0325c25afa83e66310108a0a0fe74926051a83d (diff) | |
download | portage-1f8b4927f9e7f7a1918cc8d522ead79ce0aeae99.tar.gz portage-1f8b4927f9e7f7a1918cc8d522ead79ce0aeae99.tar.bz2 portage-1f8b4927f9e7f7a1918cc8d522ead79ce0aeae99.zip |
make portage shut up if --quiet is given; bug 62273
svn path=/main/trunk/; revision=3296
Diffstat (limited to 'bin/prepall')
-rwxr-xr-x | bin/prepall | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/bin/prepall b/bin/prepall index b1dee558e..74570e6e2 100755 --- a/bin/prepall +++ b/bin/prepall @@ -3,6 +3,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Id: prepall 2230 2005-11-01 01:35:59Z vapier $ +source /usr/lib/portage/bin/isolated-functions.sh + prepallman prepallinfo prepallstrip @@ -19,7 +21,7 @@ for i in "${D}"opt/*/lib{,32,64} \ [[ ! -e ${j} ]] && continue [[ -L ${j} ]] && continue [[ -x ${j} ]] && continue - echo "making executable: /${j/${D}/}" + vecho "making executable: /${j/${D}/}" chmod +x "${j}" done @@ -27,7 +29,7 @@ for i in "${D}"opt/*/lib{,32,64} \ [[ ! -e ${j} ]] && continue [[ -L ${j} ]] && continue [[ ! -x ${j} ]] && continue - echo "removing executable bit: /${j/${D}/}" + vecho "removing executable bit: /${j/${D}/}" chmod -x "${j}" done done @@ -41,7 +43,7 @@ for a in "${D}"usr/lib*/*.a ; do if [[ ! -e ${s} ]] ; then s=${s%usr/*}${s##*/usr/} if [[ -e ${s} ]] ; then - echo -e "\aQA Notice: missing gen_usr_ldscript for ${s##*/}\a" + vecho -e "\aQA Notice: missing gen_usr_ldscript for ${s##*/}\a" sleep 1 fi fi @@ -50,8 +52,8 @@ done # Make sure people don't store libtool files or static libs in /lib f=$(ls "${D}"lib*/*.{a,la} 2>/dev/null) if [[ -n ${f} ]] ; then - echo -e "\n\aQA Notice: excessive files found in the / partition\a" - echo "${f}" + vecho -e "\n\aQA Notice: excessive files found in the / partition\a" + vecho "${f}" sleep 1 fi @@ -59,7 +61,7 @@ fi for a in "${D}"usr/lib*/*.la ; do s=${a##*/} if grep -qs "${D}" "${a}" ; then - echo -e "\n\aQA Notice: ${s} appears to contain PORTAGE_TMPDIR paths\a" + vecho -e "\n\aQA Notice: ${s} appears to contain PORTAGE_TMPDIR paths\a" sleep 1 fi done @@ -70,17 +72,17 @@ if type -p scanelf > /dev/null ; then for d in "${D}"lib* "${D}"usr/lib* ; do f=$(scanelf -ByF '%S %p' "${d}"/lib*.so* | gawk '$2 == "" { print }') if [[ -n ${f} ]] ; then - echo -e "\n\aQA Notice: the following shared libraries lack a SONAME\a" - echo "${f}" - echo + vecho -e "\n\aQA Notice: the following shared libraries lack a SONAME\a" + vecho "${f}" + vecho sleep 1 fi f=$(scanelf -ByF '%n %p' "${d}"/lib*.so* | gawk '$2 == "" { print }') if [[ -n ${f} ]] ; then - echo -e "\n\aQA Notice: the following shared libraries lack NEEDED entries\a" - echo "${f}" - echo + vecho -e "\n\aQA Notice: the following shared libraries lack NEEDED entries\a" + vecho "${f}" + vecho sleep 1 fi done |