forked from ungleich-public/cdist
		
	use printf instead of echo to avoid bash broken echo builtin
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								8a34b7dfea
							
						
					
				
			
			
				commit
				
					
						2932b8343f
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -50,7 +50,7 @@ case "$state_should" in
 | 
			
		|||
        #
 | 
			
		||||
 | 
			
		||||
        line_sanitised=$(cat "$__object/parameter/line" | sed -e "s/'/'\"'\"'/g" -e 's/\\/\\\\/g')
 | 
			
		||||
        echo "echo '$line_sanitised' >> $file"
 | 
			
		||||
        echo "printf '%s\n' '$line_sanitised' >> $file"
 | 
			
		||||
 | 
			
		||||
    ;;
 | 
			
		||||
    absent)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue