chore(unitproc):bktemp-dateShort:Note Version
[BK-2020-03.git] / 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