| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Sun, 9 Feb 2003 15:10:57 -0600 |
| From: | "William A. Gatliff" <bgat AT billgatliff DOT com> |
| To: | cygwin AT sources DOT redhat DOT com |
| Subject: | Shell brace expansion in make works? |
| Message-ID: | <20030209151057.A13079@saturn.billgatliff.com> |
| Reply-To: | bgat AT billgatliff DOT com |
| Mime-Version: | 1.0 |
| User-Agent: | Mutt/1.2.5.1i |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |