This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug: cygport fails when the working directory pathname contains spaces


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]