mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-25 17:20:25 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			6 lines
		
	
	
	
		
			96 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
	
		
			96 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/bin/sh
 | |
| # harden a link (convert it to a singly linked file)
 | |
| cp $1 $1.foo
 | |
| rm $1
 | |
| mv $1.foo $1
 | |
| 
 |