From: Steven Baltakatei Sandoval Date: Sun, 28 Jun 2020 22:54:31 +0000 (+0000) Subject: fix(bktemplate):minor arg quotation X-Git-Tag: 0.2.0~29 X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/35dd69b488de578bf21dd976760f4729cf9d2a30?hp=60fdb80b59ff5d5f384ed8bd92f1203feafd1dd7 fix(bktemplate):minor arg quotation --- diff --git a/unitproc/bktemplate b/unitproc/bktemplate index 82caf02..67fbf17 100755 --- a/unitproc/bktemplate +++ b/unitproc/bktemplate @@ -355,7 +355,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