Skip to content
Browse files

force the symlink dont need prompts

  • Loading branch information...
1 parent 2332d79 commit d28ac5463dfcb109c6776ba6746ee938d5616bdd @asceth committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ors/commands/symlink.rb
View
2 lib/ors/commands/symlink.rb
@@ -12,7 +12,7 @@ def execute
execute_in_parallel(ORS.config[:ruby_servers]) do |server|
execute_command(server,
prepare_environment,
- %(if [ -f config/deploy ]; then cd config/deploy; 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 -nfs `pwd`/$i ../../$i; done; cd ../../; fi),
:exec => true)
end

0 comments on commit d28ac54

Please sign in to comment.
Something went wrong with that request. Please try again.