]> xenbits.xensource.com Git - people/sstabellini/raisin.git/commitdiff
raisin: add some debugging output for VERBOSE=1
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 15 Apr 2015 11:07:38 +0000 (11:07 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 15 Apr 2015 15:48:13 +0000 (15:48 +0000)
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
lib/common-functions.sh

index 31eec7327c0133c7005722525151d72a431c9040..c72856ae9c501a6389716040925595ad249769b0 100644 (file)
@@ -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
 }