X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Steven Monai" , 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> Date: Wed, 27 Jan 2010 09:38:34 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Matthias Andree" Message-ID: In-Reply-To: <4B5FA03C.8020504@monai.ca> User-Agent: Opera Mail/10.10 (Linux) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Am 27.01.2010, 03:09 Uhr, schrieb Steven Monai: > 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 even simpler, cd to the DOS variant of the filename, try for instance: cd /home/steve/MYDOCU~1/bglibs (you need to check what the actual DOS path equivalent is on your system) This has worked quite well for me so far (and I changed my $HOME to not contain spaces, but use the DOS name, too). -- Matthias Andree -- 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