Re: [PATCH] repack: find -> /usr/bin/find, as for cygwin
- From
Erik Faye-Lund <kusmabite@gmail.com>
- Date
- Mar 21, 2011, 09:36 UTC
- Message-ID
- <AANLkTikNprk74FnSfw=n3ePvwOZT_WaeSpnKQCqD9mpa@mail.gmail.com>
- In-Reply-To
- <AANLkTinFFnm7-TKcbTdbzJHx4i4L8rdi4xogr3R7=7s1@mail.gmail.com>
On Sun, Mar 20, 2011 at 1:35 AM, ryenus ◇ <ryenus@gmail.com> wrote:
Show 16 quoted lines
> 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