forked from ungleich-public/cdist
		
	Fix SC2162.
This commit is contained in:
		
					parent
					
						
							
								16159d8fca
							
						
					
				
			
			
				commit
				
					
						644ec85d80
					
				
			
		
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -29,7 +29,7 @@ fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
set --
 | 
					set --
 | 
				
			||||||
if [ -f "$__object/parameter/rsync-opts" ]; then
 | 
					if [ -f "$__object/parameter/rsync-opts" ]; then
 | 
				
			||||||
    while read opts; do
 | 
					    while read -r opts; do
 | 
				
			||||||
        set -- "$@" "--$opts"
 | 
					        set -- "$@" "--$opts"
 | 
				
			||||||
    done < "$__object/parameter/rsync-opts"
 | 
					    done < "$__object/parameter/rsync-opts"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -78,7 +78,7 @@ if [ -s "$__object/explorer/entry" ]; then
 | 
				
			||||||
   # Note that the files have to be sorted for comparison with `comm`.
 | 
					   # Note that the files have to be sorted for comparison with `comm`.
 | 
				
			||||||
   sort "$__object/explorer/entry" > "$__object/files/is"
 | 
					   sort "$__object/explorer/entry" > "$__object/files/is"
 | 
				
			||||||
   comm -13 "$__object/files/should" "$__object/files/is" | {
 | 
					   comm -13 "$__object/files/should" "$__object/files/is" | {
 | 
				
			||||||
      while read entry; do
 | 
					      while read -r entry; do
 | 
				
			||||||
         remove_line "$file" "$entry"
 | 
					         remove_line "$file" "$entry"
 | 
				
			||||||
      done
 | 
					      done
 | 
				
			||||||
   }
 | 
					   }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue