mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 02:17:18 +00:00 
			
		
		
		
	This commit is contained in:
		
							parent
							
								
									319e0ae3cf
								
							
						
					
					
						commit
						18e46962c2
					
				
							
								
								
									
										10
									
								
								acme.sh
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								acme.sh
									
									
									
									
									
								
							| @ -1244,12 +1244,20 @@ _starttlsserver() { | ||||
|   _debug serverproc $serverproc | ||||
| } | ||||
| 
 | ||||
| #file | ||||
| _readlink() { | ||||
|   _rf="$1" | ||||
|   if ! readlink -f "$_rf" 2>/dev/null; then | ||||
|     readlink  "$_rf" | ||||
|   fi | ||||
| } | ||||
| 
 | ||||
| __initHome() { | ||||
|   if [ -z "$_SCRIPT_HOME" ] ; then | ||||
|     if _exists readlink && _exists dirname ; then | ||||
|       _debug "Lets guess script dir." | ||||
|       _debug "_SCRIPT_" "$_SCRIPT_" | ||||
|       _script="$(readlink -f "$_SCRIPT_")" | ||||
|       _script="$(_readlink "$_SCRIPT_")" | ||||
|       _debug "_script" "$_script" | ||||
|       _script_home="$(dirname "$_script")" | ||||
|       _debug "_script_home" "$_script_home" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user