On Sun, Mar 20, 2011 at 1:35 AM, ryenus â <ryenus@xxxxxxxxx> wrote: > oops, corrected the script with the test strings in upper cases > > #!/bin/sh > echo $(uname -s) > case $(uname -s) in > *MINGW*|*CYGWIN*) > Âecho "detected MinGW/Cygwin" > Â;; > *MINGW*) > Âecho "detected MinGW" > Â;; > *CYGWIN*) > Âecho "detected Cygwin" > Â;; > esac > Output: MINGW32_NT-6.1 detected MinGW/Cygwin -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html