|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 6/9] raisin: add some debugging output for VERBOSE=1
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
---
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |