diorcety / crosstool-ng

crosstool-ng fork with the full support of Darwin/Linux/Windows as build and host machine
Other
33 stars 15 forks source link

cygwin-host: failure on operating system detection #8

Open class101 opened 10 years ago

class101 commented 10 years ago
--- "a/C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\TortoiseGit\\fun97EE.tmp\\functions-1ed9206-left"
+++ "b/X:\\LIBRARIES\\crosstool-ng-darwin-svn\\scripts\\functions"
@@ -466,7 +466,7 @@ CT_DoForceRmdir() {
     for dir in "${@}"; do
         [ -d "${dir}" ] || continue
         case "$CT_SYS_OS" in
-            Linux|CYGWIN|MSYS*)
+            Linux|CYGWIN*|MSYS*)
                 mode="$(stat -c '%a' "$(dirname "${dir}")")"
                 ;;
             Darwin|*BSD)