Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'apt-cyg' should work for Windows Accounts with spaces #50

Open
GoogleCodeExporter opened this issue Feb 16, 2016 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

I don't know what the possible values for last-cache are in setup.rc, but since 
my account name has a <SPACE> in it, the following works.

Also, you did quote the mkdir and cd in ONE place, but another one was left 
unquoted.

$ apt-cyg --version
apt-cyg version 0.59

$ diff /usr/bin/apt-cyg /usr/bin/apt-cyg.DIST
80c80
<     print $0

---
>     print $1
292,293c292,293
<   mkdir -p "$cache/$mirrordir/$dn"
<   cd "$cache/$mirrordir/$dn"

---
>   mkdir -p $cache/$mirrordir/$dn
>   cd $cache/$mirrordir/$dn

thanks,
--stephen

Original issue reported on code.google.com by stephen....@gmail.com on 8 Nov 2014 at 6:03

@GoogleCodeExporter
Copy link
Author

Oops, missed another...
366c366
<   cd "$cache/$mirrordir/$dn"
---
>   cd $cache/$mirrordir/$dn

I guess i'm not convinced that Cygwin itself is quite capable of dealing with 
spaces

cygwin warning:
  MS-DOS style path detected: C:/Users/Stephen
  Preferred POSIX equivalent is: /cygdrive/c/Users/Stephen
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
/usr/bin/apt-cyg: line 366: cd: C:/Users/Stephen: No such file or directory
tar: subversion-1.8.10-2.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

bleah.

Original comment by stephen....@gmail.com on 8 Nov 2014 at 6:25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant