File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -525,12 +525,12 @@ info "host platform: ${host_arch}_${host_os}"
525
525
home=" ${HOME} "
526
526
if [[ " ${host_os} " == " windows" ]]; then
527
527
if [[ " ${home} " == " /home/" * ]]; then
528
- if [[ -d " ${home/ \/ home\/ / \/ c \ / Users\ / } " ]]; then
528
+ if [[ -d " ${home/ \/ home\/ // c / Users/ } " ]]; then
529
529
# MSYS2 https://github.com/taiki-e/install-action/pull/518#issuecomment-2160736760
530
- home=" ${home/ \/ home\/ / \/ c \ / Users\ / } "
531
- elif [[ -d " ${home/ \/ home\/ / \ / cygdrive\/ c \ / Users\ / } " ]]; then
530
+ home=" ${home/ \/ home\/ // c / Users/ } "
531
+ elif [[ -d " ${home/ \/ home\/ // cygdrive/ c / Users/ } " ]]; then
532
532
# Cygwin https://github.com/taiki-e/install-action/issues/224#issuecomment-1720196288
533
- home=" ${home/ \/ home\/ / \ / cygdrive\/ c \ / Users\ / } "
533
+ home=" ${home/ \/ home\/ // cygdrive/ c / Users/ } "
534
534
else
535
535
warn " \$ HOME starting /home/ (${home} ) on Windows bash is usually fake path, this may cause installation issue"
536
536
fi
You can’t perform that action at this time.
0 commit comments