6 lines
		
	
	
		
			71 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			71 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
function basedir() {
 | 
						|
  (cd "$(dirname \"$-2\")" && pwd)
 | 
						|
}
 |