Merged from trunk 5141:5143
authorFabian Groffen <grobian@gentoo.org>
Wed, 29 Nov 2006 22:00:18 +0000 (22:00 -0000)
committerFabian Groffen <grobian@gentoo.org>
Wed, 29 Nov 2006 22:00:18 +0000 (22:00 -0000)
Make sure QUIET mode is exported to the environment properly when using
-q mode.

No point in forking a call to true when we can simply use the bash
internal of : for true.

svn path=/main/branches/prefix/; revision=5145

bin/ebuild.sh
bin/misc-functions.sh

index 81c6a0223f0cd6eca3f918d5395610983c9cc3f0..dfedfff26da8f649005cf3169c73716188e03727 100755 (executable)
@@ -60,6 +60,7 @@ case "${NOCOLOR:-false}" in
                ;;
 esac
 
+[[ $PORTAGE_QUIET != "" ]] && export PORTAGE_QUIET
 
 # the sandbox is disabled by default except when overridden in the relevant stages
 export SANDBOX_ON="0"
index 7a58cd57a219c0f563866786eb29d8a3302db1d4..09268dae3e73eb354eadd1582d109b09c17cc9a9 100644 (file)
@@ -464,4 +464,4 @@ if [ -n "${MISC_FUNCTIONS_ARGS}" ]; then
        done
 fi
 
-true
+: