Skip to content

Commit

Permalink
take out the environment specific files and just have config/deploy/*…
Browse files Browse the repository at this point in the history
… files
  • Loading branch information
asceth committed May 15, 2012
1 parent fe4f826 commit 2332d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ors/commands/symlink.rb
Expand Up @@ -12,7 +12,7 @@ def execute
execute_in_parallel(ORS.config[:ruby_servers]) do |server|
execute_command(server,
prepare_environment,
%(if [ -f config/deploy/#{ORS.config[:environment]} ]; then cd config/deploy/#{ORS.config[:environment]}; for i in `find ./ -type f`; do ln -s `pwd`/$i ../../$i; done; cd ../../..; fi),
%(if [ -f config/deploy ]; then cd config/deploy; for i in `find ./ -type f`; do ln -s `pwd`/$i ../../$i; done; cd ../../; fi),
:exec => true)

end
Expand Down

0 comments on commit 2332d79

Please sign in to comment.