X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0	tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4F50AEE9.2010203@cs.umass.edu>
Date: Fri, 02 Mar 2012 06:28:41 -0500
From: Eliot Moss <moss@cs.umass.edu>
Reply-To: moss@cs.umass.edu
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [SOLVED:] Re: make producing basename error that can't be captured by "make &> make.out"
References: <4F5035D0.9070502@cs.cmu.edu> <4F506393.1030502@gmail.com> <4F5067E0.5000203@cs.cmu.edu> <4F506DD1.8080901@gmail.com> <4F50718D.9030909@cs.cmu.edu>
In-Reply-To: <4F50718D.9030909@cs.cmu.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 3/2/2012 2:06 AM, Paul Allen Newell wrote:
> On 3/1/2012 10:50 PM, Dave Korn wrote:

> I'll go and figure out some way to filter $(PWD) to be acceptable to basename.

Generally, getting " quotes around it will do the trick.
Over the years I have managed to make many of my scripts
safe for file and directory names that have spaces. It's
a pain, but generally possible ... Eliot Moss

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

