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

error for "self-update" command in a folder with spaces #29

Open
matteosister opened this issue Aug 27, 2012 · 1 comment
Open

error for "self-update" command in a folder with spaces #29

matteosister opened this issue Aug 27, 2012 · 1 comment

Comments

@matteosister
Copy link
Contributor

I keep all my php executables in an Ubuntu One folder (for sharing across my computers), and the Ubuntu One folder has a space in it. I found that the self-update command fails due to a problem with curl....for example, in my environment the command become:

$ curl -# -L https://raw.github.com/c9s/Onion/master/onion > /home/matteo/Ubuntu One/dotfiles/bin/onion

so curl complains:

$ curl: (6) Couldn't resolve host 'One'

I found a quick solution that simply escape the spaces in the script path. You can find it here

If you want a PR it's ready...

@c9s
Copy link
Member

c9s commented Aug 28, 2012

Hi! Thanks!

Can you send me a pull request ?

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

No branches or pull requests

2 participants