This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Shell brace expansion in make works?
- From: "William A. Gatliff" <bgat at billgatliff dot com>
- To: cygwin at sources dot redhat dot com
- Date: Sun, 9 Feb 2003 15:10:57 -0600
- Subject: Shell brace expansion in make works?
- Reply-to: bgat at billgatliff dot com
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/