Skip to content

Commit

Permalink
fixed line endings for restore script
Browse files Browse the repository at this point in the history
  • Loading branch information
ronniedada committed Aug 20, 2013
1 parent 8d7eb9b commit 9573fde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbooks/couchbase/recipes/restore-2.1.1.rb
Expand Up @@ -132,8 +132,8 @@
new_dir = "#{mount_point}" << "_back"
execute "restoring data from a backup location: #{new_dir} -> #{mount_point}" do
command("/etc/init.d/couchbase-server stop && cd #{mount_point} && " +
" rm -rf #{node[:db_couchbase][:bucket][:name]} && "
" mv -f #{new_dir}/* #{mount_point} && ")
" rm -rf #{node[:db_couchbase][:bucket][:name]} && " +
" mv -f #{new_dir}/* #{mount_point} && " +
" /etc/init.d/cochbase-server start")
action :run
end
Expand Down

0 comments on commit 9573fde

Please sign in to comment.