From 1e6b6fb0747d822850d16a11c29f5c4b3294876c Mon Sep 17 00:00:00 2001 From: GuillaumeFalourd Date: Wed, 23 Jun 2021 17:22:24 -0300 Subject: [PATCH] update rit shell math calculate formula Signed-off-by: GuillaumeFalourd --- shell/math/calculate/src/formula/formula.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shell/math/calculate/src/formula/formula.sh b/shell/math/calculate/src/formula/formula.sh index 24f0c00..386155b 100755 --- a/shell/math/calculate/src/formula/formula.sh +++ b/shell/math/calculate/src/formula/formula.sh @@ -1,10 +1,10 @@ #!/bin/sh runFormula() { - if [ "sum" = "$OPERATION" ]; then + if [ "sum" = "$RIT_OPERATION" ]; then echo "rit shell math sum numbers --rit_number_one=$RIT_NUMBER_ONE --rit_number_two=$RIT_NUMBER_TWO" - elif [ "multiplication" = "$OPERATION" ]; then + elif [ "multiplication" = "$RIT_OPERATION" ]; then echo "rit shell math multiply numbers --rit_number_one=$RIT_NUMBER_ONE --rit_number_two=$RIT_NUMBER_TWO" else - echo "Unexpected operation type: $OPERATION" + echo "Unexpected operation type: $RIT_OPERATION" fi }