Skip to content

Commit

Permalink
Merge pull request #11 from tk0miya/create-cachedir
Browse files Browse the repository at this point in the history
Create cache/ directory under roundsman_working_directory
  • Loading branch information
iain committed Jan 5, 2013
2 parents fe5eb08 + bff08f6 commit 5ebdf70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/roundsman/capistrano.rb
Expand Up @@ -77,6 +77,7 @@ def run(*args)
def ensure_roundsman_working_dir def ensure_roundsman_working_dir
unless @ensured_roundsman_working_dir unless @ensured_roundsman_working_dir
run "mkdir -p #{fetch(:roundsman_working_dir)}" run "mkdir -p #{fetch(:roundsman_working_dir)}"
run "mkdir -p #{fetch(:roundsman_working_dir)}/cache"
sudo "chown -R #{fetch(:roundsman_user)} #{fetch(:roundsman_working_dir)}" sudo "chown -R #{fetch(:roundsman_user)} #{fetch(:roundsman_working_dir)}"
@ensured_roundsman_working_dir = true @ensured_roundsman_working_dir = true
end end
Expand Down

0 comments on commit 5ebdf70

Please sign in to comment.