mirror of
				https://github.com/TheLocehiliosan/yadm
				synced 2025-06-13 13:03:58 +00:00 
			
		
		
		
	Remove unnecessary [[
This commit is contained in:
		
							parent
							
								
									88ee3f09fb
								
							
						
					
					
						commit
						79f7aae073
					
				
							
								
								
									
										4
									
								
								yadm
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								yadm
									
									
									
									
									
								
							| @ -1492,11 +1492,11 @@ function process_global_args() { | ||||
| 
 | ||||
| function qualify_path() { | ||||
|     local path="$1" | ||||
|     if [[ -z "$path" ]]; then | ||||
|     if [ -z "$path" ]; then | ||||
|         error_out "You can't specify an empty $2 path" | ||||
|     fi | ||||
| 
 | ||||
|     if [[ "$path" = "." ]]; then | ||||
|     if [ "$path" = "." ]; then | ||||
|         path="$PWD" | ||||
|     elif [[ "$path" != /* ]]; then | ||||
|         path="$PWD/${path#./}" | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user