Remove Windows line endings from CMD.exe calls
This commit is contained in:
parent
6f397398c2
commit
25e30752b4
1 changed files with 1 additions and 1 deletions
2
shcrt
2
shcrt
|
@ -22,7 +22,7 @@ function is_wsl {
|
|||
}
|
||||
|
||||
function wsl_win_var {
|
||||
/mnt/c/Windows/System32/cmd.exe /C "echo $1"
|
||||
/mnt/c/Windows/System32/cmd.exe /C "echo $1" | sed 's/\r\n/\n/g'
|
||||
}
|
||||
|
||||
function win_path_to_wsl {
|
||||
|
|
Loading…
Reference in a new issue