mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-31 03:30:35 -04:00 
			
		
		
		
	Make tests/*.sh runnable from anywhere
This commit is contained in:
		
							parent
							
								
									3b2c0d6162
								
							
						
					
					
						commit
						19db8eaf9b
					
				| @ -1049,6 +1049,11 @@ run_client() { | |||||||
| # MAIN | # MAIN | ||||||
| # | # | ||||||
| 
 | 
 | ||||||
|  | if cd $( dirname $0 ); then :; else | ||||||
|  |     echo "cd $( dirname $0 ) failed" >&2 | ||||||
|  |     exit 1 | ||||||
|  | fi | ||||||
|  | 
 | ||||||
| get_options "$@" | get_options "$@" | ||||||
| 
 | 
 | ||||||
| # sanity checks, avoid an avalanche of errors | # sanity checks, avoid an avalanche of errors | ||||||
|  | |||||||
| @ -460,6 +460,11 @@ cleanup() { | |||||||
| # MAIN | # MAIN | ||||||
| # | # | ||||||
| 
 | 
 | ||||||
|  | if cd $( dirname $0 ); then :; else | ||||||
|  |     echo "cd $( dirname $0 ) failed" >&2 | ||||||
|  |     exit 1 | ||||||
|  | fi | ||||||
|  | 
 | ||||||
| get_options "$@" | get_options "$@" | ||||||
| 
 | 
 | ||||||
| # sanity checks, avoid an avalanche of errors | # sanity checks, avoid an avalanche of errors | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Manuel Pégourié-Gonnard
						Manuel Pégourié-Gonnard