Howto force winXP use cygwin "if test -n"

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Tue Aug 28 03:16:00 GMT 2007


On 08/27/2007, Hugo Martin (Tourbillon Enterprises) wrote:
> Hello.
> 
> I need to use cygwin's "if" command, the ruby gem I need to install tries 
> to run "if test -n" in my winXP but the win32 "if" is used so it fails with 
> "-n was unexpected at this time".
> 
> Is it possible to force WinXP to use cygwin's "if"?  c:\cygwin\bin is on 
> the PATH
> 
> Hugo
> 
> 
> --------------------------------------------------
> 
> If it's helpful here is the error:
> 
> c:\> gem install rmagick --include-dependencies 

Run the above from within bash?

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list