[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 1/8] raisin: Fix non-verbose case
Because we use "set -e", we can't use the "a && b" construct, as it will fail and stop the script. Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx> --- lib/common-functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common-functions.sh b/lib/common-functions.sh index 36e1766..06c894a 100644 --- a/lib/common-functions.sh +++ b/lib/common-functions.sh @@ -232,9 +232,9 @@ function for_each_component () { fi if eval [[ ! -z \$"$capital"_REVISION ]] then - [[ $VERBOSE -eq 1 ]] && echo calling "$component"_"$1" + [[ $VERBOSE -eq 0 ]] || echo calling "$component"_"$1" "$component"_"$1" - [[ $VERBOSE -eq 1 ]] && echo "$component"_"$1" done + [[ $VERBOSE -eq 0 ]] || echo "$component"_"$1" done fi done } -- 1.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |