Skip to content

Commit

Permalink
Merge pull request #1905 from tiktuk/patch-28
Browse files Browse the repository at this point in the history
Handle local paths with spaces in rsync_upload
  • Loading branch information
stephenmcd authored Dec 10, 2018
2 parents bdf59ba + 4f830e3 commit 1196c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mezzanine/project_template/fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def rsync_upload():
"""
excludes = ["*.pyc", "*.pyo", "*.db", ".DS_Store", ".coverage",
"local_settings.py", "/static", "/.git", "/.hg"]
local_dir = os.getcwd() + os.sep
local_dir = "'%s%s'" % (os.getcwd(), os.sep)
return rsync_project(remote_dir=env.proj_path, local_dir=local_dir,
exclude=excludes)

Expand Down

0 comments on commit 1196c75

Please sign in to comment.