X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <4B5FC8BD.4040000@veritech.com> Date: Wed, 27 Jan 2010 00:01:49 -0500 From: Lee Rothstein Reply-To: lee AT veritech DOT com User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Bug: cygport fails when the working directory pathname contains spaces References: <4B5FA03C DOT 8020504 AT monai DOT ca> In-Reply-To: <4B5FA03C.8020504@monai.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Steven Monai wrote: > Hi folks, > > Consider this command line transcript: > -------------------------------------- > $ uname -a > CYGWIN_NT-5.1 hostname 1.7.1(0.218/5/3) 2009-12-07 11:48 i686 Cygwin > > $ cygcheck -c cygport > Cygwin Package Information > Package Version Status > cygport 0.9.80-1 OK > > $ pwd > /home/steve/My Documents/bglibs > > $ ls > bglibs-1.106-1.cygport > > $ cygport bglibs-1.106-1.cygport download > /usr/bin/cygport: line 444: [: /home/steve/My: binary operator expected > /usr/bin/cygport: line 450: /home/steve/My: No such file or directory > > -------------------------------------- > Workaround: Move the working dir to a path not containing spaces. Or, better still, mount the ensppaced path to an alias sans, spaces. E.g., /etc/fstab entry: c:/home/steve/My\040Documents /zwup/steves_docs some_fs binary 0 0 'zwup'? Z -- end of the alphabet, keeps them out of the way for find; WUP -- windows ugly paths then, target directory is /zwup/steves_docs/bglibs C:/Program\040Files\040(x86)/ACD\040Systems/ACDSee/10.0 /zup/ACDSee_10 some_fs binary 0 0 > > Best regards, > -SM > -- > > -- > 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 > > -- 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