mirror of
				https://github.com/TheLocehiliosan/yadm
				synced 2025-06-13 13:03:58 +00:00 
			
		
		
		
	Merge pull request #102 from rasa/rasa-add-mingw-msys-support
This commit is contained in:
		
						commit
						b2ef6d2e09
					
				
							
								
								
									
										5
									
								
								yadm
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								yadm
									
									
									
									
									
								
							| @ -389,7 +389,7 @@ function alt() { | ||||
| 
 | ||||
|   # decide if a copy should be done instead of a symbolic link | ||||
|   local do_copy=0 | ||||
|   [[ $OPERATING_SYSTEM == CYGWIN* ]] && | ||||
|   [[ $OPERATING_SYSTEM =~ ^(CYGWIN|MSYS) ]] && | ||||
|     [ "$(config --bool yadm.cygwin-copy)" == "true" ] && | ||||
|       do_copy=1 | ||||
| 
 | ||||
| @ -1271,11 +1271,12 @@ function set_operating_system() { | ||||
|   fi | ||||
| 
 | ||||
|   case "$OPERATING_SYSTEM" in | ||||
|     CYGWIN*) | ||||
|     CYGWIN*|MINGW*|MSYS*) | ||||
|       git_version="$("$GIT_PROGRAM" --version 2>/dev/null)" | ||||
|       if [[ "$git_version" =~ windows ]] ; then | ||||
|           USE_CYGPATH=1 | ||||
|       fi | ||||
|       OPERATING_SYSTEM=$(uname -o) | ||||
|       ;; | ||||
|     *) | ||||
|       ;; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user