fix, whitespace in sv_variable not allowed
This commit is contained in:
		@@ -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}")
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user