From: Erik Faye-Lund Date: Mon, 21 Mar 2011 09:36:06 GMT Subject: Re: [PATCH] repack: find -> /usr/bin/find, as for cygwin Message-ID: In-Reply-To: On Sun, Mar 20, 2011 at 1:35 AM, ryenus ◇ 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