From: Stefano Stabellini Date: Wed, 15 Apr 2015 11:07:38 +0000 (+0000) Subject: raisin: add some debugging output for VERBOSE=1 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1235bf6e34577deebc6379d2dfcaabdf3ac41b74;p=people%2Fsstabellini%2Fraisin.git raisin: add some debugging output for VERBOSE=1 Signed-off-by: Stefano Stabellini Acked-by: George Dunlap --- 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 }