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 |
To: | cygwin AT cygwin DOT com |
X-Injected-Via-Gmane: | http://gmane.org/ |
Path: | not-for-mail |
From: | Charles Wilson <cwilson AT ece DOT gatech DOT edu> |
Newsgroups: | gmane.os.cygwin |
Subject: | Re: cygwin wrapper aclocal doesn't handle multiple -I options ? |
Date: | Wed, 26 Jun 2002 11:35:13 -0400 |
Lines: | 28 |
Message-ID: | <3D19DF31.1080905@ece.gatech.edu> |
References: | <3D192F3C DOT 6050102 AT ece DOT gatech DOT edu> <INEKLKBFCDBPKMKAJLMDOENKCEAA DOT bab AT vx DOT com> |
NNTP-Posting-Host: | 1cust246.tnt11.atl4.da.uu.net |
Mime-Version: | 1.0 |
X-Trace: | main.gmane.org 1025105678 9492 65.234.238.246 (26 Jun 2002 15:34:38 GMT) |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
NNTP-Posting-Date: | Wed, 26 Jun 2002 15:34:38 +0000 (UTC) |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 |
X-Accept-Language: | en-us |
Bernard A Badger wrote: > You should allow file names with spaces in them. > Use: > opt_i="$opt_i -I '$1'" > > BTW, a better name would be opt_I, not opt_i, since the option is -I, not -i. > > It's too late for this release of the wrappers, but patches gratefully accepted for the future. However, your suggestion won't work: "$opt_i -I '$1'" using single quotes prevents $1 from being expanded at all. What you'd need to do is something like: "$opt_i -I \"$1\"" But I'm not sure if those doublequotes will be safe after multiple re-expansions as $opt_i is built and extended. This needs some testing. --Chuck -- 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 |