mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 07:33:01 +00:00 
			
		
		
		
	Fix jpm on windows with multiple git binaries.
This commit is contained in:
		
							
								
								
									
										2
									
								
								jpm
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								jpm
									
									
									
									
									
								
							| @@ -688,7 +688,7 @@ int main(int argc, const char **argv) { | ||||
|     (if stored-git-path (break stored-git-path)) | ||||
|     (set stored-git-path | ||||
|          (if is-win | ||||
|            (or (os/getenv "JANET_GIT") (pslurp "where git")) | ||||
|            (or (os/getenv "JANET_GIT") (first (string/split "\n" (pslurp "where git")))) | ||||
|            (os/getenv "JANET_GIT" "git")))) | ||||
|  | ||||
| (defn uninstall | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose