mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-15 15:16:37 +00:00
Fixed git.sh for windows
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
8a1ca8e2eb
commit
a4b61cde23
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ GIT="$(mktemp -d 2>/dev/null || mktemp -d -t 'git')"
|
|||
if [ "$OSTYPE" = "cygwin" ] || [ "$OSTYPE" = "msys" ]; then
|
||||
# Convert it to windows path so `--git "file://$GIT"` would work
|
||||
# on windows.
|
||||
GIT="$(cygpath -w "$GIT")"
|
||||
GIT="$(cygpath -m "$GIT")"
|
||||
fi
|
||||
|
||||
git init "$GIT"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue