From: Chris Koeritz Date: Wed, 24 Jun 2015 18:59:06 +0000 (-0400) Subject: fix for testing whether it's windows or not, had all upper case but Windows_NT is... X-Git-Tag: 2.140.90~621 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=9b4fb7d01a1dda94a4c3d5a904c2d02e67eee251;p=feisty_meow.git fix for testing whether it's windows or not, had all upper case but Windows_NT is not. --- 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