meta-fii: meta-kudo: Fix shellcheck errors

Fixes bash shellcheck errors so that the exemptions in run-repotest
can be removed.

Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I6afb059cf1151c871ddfcaf67efc6a63183f7130
diff --git a/meta-fii/meta-kudo/recipes-kudo/kudo-fw-utility/kudo-fw/kudo-lib.sh b/meta-fii/meta-kudo/recipes-kudo/kudo-fw-utility/kudo-fw/kudo-lib.sh
index 377257e..503e413 100644
--- a/meta-fii/meta-kudo/recipes-kudo/kudo-fw-utility/kudo-fw/kudo-lib.sh
+++ b/meta-fii/meta-kudo/recipes-kudo/kudo-fw-utility/kudo-fw/kudo-lib.sh
@@ -3,17 +3,17 @@
 # set_gpio_ctrl
 # pin #, direction, high(1)/low(0)
 function set_gpio_ctrl() {
-  echo $1 > /sys/class/gpio/export
-  echo $2 > /sys/class//gpio/gpio$1/direction
-  echo $3 > /sys/class/gpio/gpio$1/value
-  echo $1 > /sys/class/gpio/unexport
+  echo "$1" > /sys/class/gpio/export
+  echo "$2" > /sys/class//gpio/gpio"$1"/direction
+  echo "$3" > /sys/class/gpio/gpio"$1"/value
+  echo "$1" > /sys/class/gpio/unexport
   sleep 1
 }
 
 # get_gpio_ctrl
 # pin #
 function get_gpio_ctrl() {
-  echo $1 > /sys/class/gpio/export
-  echo $(cat /sys/class/gpio/gpio$1/value)
-  echo $1 > /sys/class/gpio/unexport
+  echo "$1" > /sys/class/gpio/export
+  cat /sys/class/gpio/gpio"$1"/value
+  echo "$1" > /sys/class/gpio/unexport
 }