fix, whitespace in sv_variable not allowed
This commit is contained in:
parent
0415e30719
commit
15a706a8b2
@ -12,7 +12,7 @@ CFG_PATH="${SERVER_PATH}/garrysmod/cfg/gmodserver.cfg"
|
|||||||
|
|
||||||
function configReplace() {
|
function configReplace() {
|
||||||
source="$1"
|
source="$1"
|
||||||
target="$2"
|
target="\"$2\""
|
||||||
|
|
||||||
count=$(grep -Poc "($source).+" "${CFG_PATH}")
|
count=$(grep -Poc "($source).+" "${CFG_PATH}")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user