mirror of
https://github.com/janet-lang/janet
synced 2025-02-02 18:29:10 +00:00
Fix jpm on windows with multiple git binaries.
This commit is contained in:
parent
b4f5e5bc00
commit
ee450bcd77
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
|
||||
|
Loading…
Reference in New Issue
Block a user