fix echo newline expansion
This commit is contained in:
		
							parent
							
								
									0708357b86
								
							
						
					
					
						commit
						05d317e443
					
				| @ -209,7 +209,10 @@ if [ ! -e "$my_config" ]; then | ||||
|     echo "secret: $my_secret" >> "$my_config" | ||||
|   fi | ||||
|   if [ -n "$my_servernames" ]; then | ||||
|     echo "servernames:\n  $my_servernames: {}" >> "$my_config" | ||||
|     # TODO could use printf or echo -e, | ||||
|     # just not sure how portable they are | ||||
|     echo "servernames:" >> "$my_config" | ||||
|     echo "  $my_servernames: {}" >> "$my_config" | ||||
|   fi | ||||
|   #echo "dynamic_ports:\n  []" >> "$my_config" | ||||
|   cat usr/share/$my_app.tpl.yml >> "$my_config" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user