From 25e30752b473529e112b869d19422a585a5a8f4a Mon Sep 17 00:00:00 2001 From: Davide Depau Date: Sun, 8 Sep 2019 13:52:21 +0200 Subject: [PATCH] Remove Windows line endings from CMD.exe calls --- shcrt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shcrt b/shcrt index 7705661..a9c741c 100755 --- a/shcrt +++ b/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 {