Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

spaces in local directory name causes rsync to fail #281

Closed
andrewhavens opened this issue Aug 30, 2013 · 2 comments · Fixed by #286
Closed

spaces in local directory name causes rsync to fail #281

andrewhavens opened this issue Aug 30, 2013 · 2 comments · Fixed by #286

Comments

@andrewhavens
Copy link

My kitchen directory is a subdirectory of a directory that has spaces in its name. When the rsync command is run to upload the cookbooks, it fails because it does not properly escape the spaces:

ERROR: RuntimeError: Failed to launch command rsync -rl   --rsh="ssh deploy@1.2.3.4" --delete --exclude 'revision-deploys' --exclude 'tmp' --exclude '.git' --exclude '.hg' --exclude '.svn' --exclude '.bzr' /Users/andrew/my directory with spaces/kitchen/cookbooks/ :~/chef-solo/cookbooks-1
@tmatilai
Copy link
Collaborator

Thanks for the report! I already fixed some other escaping bugs in the rsync command construction but missed that.
Should be easy to fix, so I hope to get it done over the weekend.

@tmatilai
Copy link
Collaborator

Sorry for the delay.
But #286 should fix this.

tmatilai added a commit to tmatilai/knife-solo that referenced this issue Sep 22, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants