www.delorie.com/archives/browse.cgi | search |
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 |
To: | "Steven Monai" <steve+cygwin AT monai DOT ca>, 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 |
From: | "Matthias Andree" <matthias DOT andree AT gmx DOT de> |
Message-ID: | <op.u66nmko21e62zd@merlin.emma.line.org> |
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 |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |