From 05eae345eec889b460fda347247c02f856ee49b7 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Wed, 29 Nov 2006 22:00:18 +0000 Subject: [PATCH] Merged from trunk 5141:5143 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 | 1 + bin/misc-functions.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 81c6a0223..dfedfff26 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -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" diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 7a58cd57a..09268dae3 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -464,4 +464,4 @@ if [ -n "${MISC_FUNCTIONS_ARGS}" ]; then done fi -true +: -- 2.26.2