forked from ungleich-public/cdist
		
	
		
			
	
	
		
			8 lines
		
	
	
	
		
			119 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
		
		
			
		
	
	
			8 lines
		
	
	
	
		
			119 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| 
								 | 
							
								#!/bin/sh
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# echo $@
							 | 
						||
| 
								 | 
							
								# set -x
							 | 
						||
| 
								 | 
							
								src=$1; shift
							 | 
						||
| 
								 | 
							
								dst=$1; shift
							 | 
						||
| 
								 | 
							
								real_dst=$(echo $dst | sed 's,:,,')
							 | 
						||
| 
								 | 
							
								cp -L "$src" "$real_dst"
							 |