Skip to content

Commit

Permalink
Fixes #3 - truncates trailing slash from generated shared_file_path
Browse files Browse the repository at this point in the history
  • Loading branch information
ctaintor committed Mar 8, 2013
1 parent a9e821b commit 364882d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capistrano/shared_file.rb
Expand Up @@ -18,7 +18,7 @@
# Make sure you understand the implication when you modify them.
# ================================================================
_cset :shared_file_dir, "files"
_cset(:shared_file_path) { File.join(shared_path, shared_file_dir) }
_cset(:shared_file_path) { File.join(shared_path, shared_file_dir).sub(/#{File::SEPARATOR}$/,'') }


# ================================================================
Expand Down

0 comments on commit 364882d

Please sign in to comment.