Skip to contentSkip to conversation

"script/autobuilder-worker-prereq-test: Added quotes to variables to prevent splitting and gobbling"

PATCH New Abongwa Bonalais Amahnui 1 participant 1 message Apr 13, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 "script/autobuilder-worker-prereq-test: Added quotes to variables to prevent splitting and gobbling"

---
 scripts/autobuilder-worker-prereq-tests | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/autobuilder-worker-prereq-tests +2 -2
index 82e9a77bd5..cdf00bead6 100755
@@ -15,11 +15,11 @@
 # test buildistory git repo works?
 #
 
-if [ ! -x $HOME/yocto-autobuilder-helper/scripts/checkvnc ]; then
+if [ ! -x "$HOME/yocto-autobuilder-helper/scripts/checkvnc" ]; then
     echo "$HOME/yocto-autobuilder-helper should be created."
     exit 1
 fi
-$HOME/yocto-autobuilder-helper/scripts/checkvnc
+"$HOME/yocto-autobuilder-helper/scripts/checkvnc"
 
 . ./oe-init-build-env > /dev/null
 if [ "$?" != "0" ]; then
Signature · 1 line
2.25.1