run-build.sh, gluon_bat0.sh: add double quotes

to prevent word splitting and globbing
This commit is contained in:
aiyion.prime 2022-06-22 14:56:12 +02:00
parent 1f2a41d763
commit 4ab486dd2c
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ export BROKEN=1
export GLUON_AUTOREMOVE=1 export GLUON_AUTOREMOVE=1
export GLUON_DEPRECATED=1 export GLUON_DEPRECATED=1
export GLUON_SITEDIR="contrib/ci/minimal-site" export GLUON_SITEDIR="contrib/ci/minimal-site"
export GLUON_TARGET=$1 export GLUON_TARGET="$1"
export BUILD_LOG=1 export BUILD_LOG=1
make update make update

View File

@ -37,7 +37,7 @@ proto_gluon_bat0_renew() {
proto_gluon_bat0_setup() { proto_gluon_bat0_setup() {
local config="$1" local config="$1"
local routing_algo=$(lookup_site 'mesh.batman_adv.routing_algo' 'BATMAN_IV') local routing_algo="$(lookup_site 'mesh.batman_adv.routing_algo' 'BATMAN_IV')"
local gw_mode local gw_mode
json_get_vars gw_mode json_get_vars gw_mode