From 0733880ed2ac8722f26d31e1b4377f08c6227b47 Mon Sep 17 00:00:00 2001 From: Steven Baltakatei Sandoval Date: Sun, 28 Jun 2020 22:55:42 +0000 Subject: [PATCH] fix(bktemp):Add missing quotations around string variable. --- unitproc/bktemp-checkAppFileDir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unitproc/bktemp-checkAppFileDir b/unitproc/bktemp-checkAppFileDir index 976135f..017cc3c 100644 --- a/unitproc/bktemp-checkAppFileDir +++ b/unitproc/bktemp-checkAppFileDir @@ -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 -- 2.30.2