This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Shell brace expansion in make works?


Guys:


I have a Makefile with a command like this:

 mkdir -p /opt/billgatliff/{usr,lib}

Works fine under Linux, but not on the latest Cygwin.

Under Cygwin, what I actually get is a directory called "{usr",
instead of "usr".  Other variations on this brace expansion (in tar
arguments, etc.) produce similar problems.

I checked this:

$ set | grep SHELL
SHELL=/bin/bash


Seems fine.  But when I do this:

$ make SHELL=/bin/sh ...

I actually get what I'm after, i.e. "usr" instead of "{usr".


*shrug*



b.g.
-- 
Bill Gatliff
Professional embedded Linux training.
http://billgatliff.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]