From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: [PATCH 6/9] raisin: add some debugging output for VERBOSE=1 Date: Wed, 15 Apr 2015 16:14:57 +0100 Message-ID: <1429110900-8286-6-git-send-email-stefano.stabellini@eu.citrix.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xensource.com Cc: george.dunlap@eu.citrix.com, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org Signed-off-by: Stefano Stabellini --- lib/common-functions.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/common-functions.sh b/lib/common-functions.sh index 31eec73..c72856a 100644 --- a/lib/common-functions.sh +++ b/lib/common-functions.sh @@ -225,9 +225,16 @@ function for_each_component () { for component in `cat "$BASEDIR"/components/series` do capital=`echo $component | tr '[:lower:]' '[:upper:]'` + if [[ $VERBOSE -eq 1 ]] + then + echo -n "$capital"_REVISION =" " + eval echo \$"$capital"_REVISION + fi if eval [[ ! -z \$"$capital"_REVISION ]] then + [[ $VERBOSE -eq 1 ]] && echo calling "$component"_"$1" "$component"_"$1" + [[ $VERBOSE -eq 1 ]] && echo "$component"_"$1" done fi done } -- 1.7.10.4