scripts: rename ExecEx -> EvalEx

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2018-10-02 21:31:00 +02:00
parent 0dbb955a94
commit 0fc0a4a9cd
3 changed files with 36 additions and 36 deletions

View File

@@ -43,13 +43,13 @@ ErrorOut() {
exit -1
}
# ExecEx executes a command, checks if it succeeds and ouputs messages
# EvalEx executes a command, checks if it succeeds and ouputs messages
# It expectes the following parameters:
# 1. Command
# 2. Message on start
# 3. Message on successful end
# 4. Message on error end
ExecEx() {
EvalEx() {
if [ -n "${2}" ] ; then
echo -e "${style_blue}${2}${style_normal}"
fi