overwrite links / binaries if already existing
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								e5297ddf31
							
						
					
				
			
			
				commit
				
					
						6704ae7cc1
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -38,5 +38,5 @@ ls -1 > "${__cdist_tmp_file}"
 | 
				
			||||||
# Create binaries
 | 
					# Create binaries
 | 
				
			||||||
mkdir -p "${__cdist_cache_bin}"
 | 
					mkdir -p "${__cdist_cache_bin}"
 | 
				
			||||||
while read type; do
 | 
					while read type; do
 | 
				
			||||||
   ln -s "${__cdist_tree_wrapper}" "${__cdist_cache_bin}/${__cdist_bin_prefix}${type}"
 | 
					   ln -sf "${__cdist_tree_wrapper}" "${__cdist_cache_bin}/${__cdist_bin_prefix}${type}"
 | 
				
			||||||
done < "${__cdist_tmp_file}"
 | 
					done < "${__cdist_tmp_file}"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue