From: George Dunlap <george.dunlap@eu.citrix.com>
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@eu.citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
fi
if eval [[ ! -z \$"$capital"_REVISION ]]
then
- [[ $VERBOSE -eq 1 ]] && echo calling "$component"_"$1"
+ if [[ $VERBOSE -eq 1 ]]
+ then
+ echo calling "$component"_"$1"
+ fi
"$component"_"$1"
- [[ $VERBOSE -eq 1 ]] && echo "$component"_"$1" done
+ if [[ $VERBOSE -eq 1 ]]
+ then
+ echo "$component"_"$1" done
+ fi
fi
done
}