fix(bktemp):Add missing quotations around string variable.
authorSteven Baltakatei Sandoval <baltakatei@gmail.com>
Sun, 28 Jun 2020 22:55:42 +0000 (22:55 +0000)
committerSteven Baltakatei Sandoval <baltakatei@gmail.com>
Sun, 28 Jun 2020 22:55:42 +0000 (22:55 +0000)
unitproc/bktemp-checkAppFileDir

index 976135f87c574cc874a0b9dfad4f4c0692ed0bd1..017cc3c7fa71564db0b3f1b3abbbdf1d1aad4adf 100644 (file)
@@ -23,7 +23,7 @@ checkapp() {
     #===Process Args===
     for arg in "$@"; do
        #echo "DEBUG:processing arg:$arg"
-       if command -v $arg 1>/dev/null 2>&1; then # Check if arg is a valid command
+       if command -v "$arg" 1>/dev/null 2>&1; then # Check if arg is a valid command
            appRollCall[$arg]="true";
            #echo "DEBUG:appRollCall[$arg]:"${appRollCall[$arg]}
            if ! [ "$returnState" = "false" ]; then returnState="true"; fi