From 9b4fb7d01a1dda94a4c3d5a904c2d02e67eee251 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 24 Jun 2015 14:59:06 -0400 Subject: [PATCH] fix for testing whether it's windows or not, had all upper case but Windows_NT is not. --- scripts/core/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index 006851be..eee56fe3 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -238,7 +238,7 @@ if [ -z "$skip_all" ]; then function unix_to_dos_path() { # we usually remove dos slashes in favor of forward slashes. local DOSSYHOME - if [[ ! "$OS" =~ ^WIN ]]; then + if [[ ! "$OS" =~ ^[Ww][iI][nN] ]]; then # fake this value for non-windows (non-cygwin) platforms. DOSSYHOME="$HOME" else -- 2.34.1