lib/demonz/common.rb in capistrano-demonz-0.0.16 vs lib/demonz/common.rb in capistrano-demonz-0.0.17

- old
+ new

@@ -55,10 +55,10 @@ # Remove release if it exists release_history.delete_at release_history.index(release) unless release_history.index(release).nil? # Save release_history = release_history.join("\n") - try_sudo "printf #{release_history} > #{release_file}" + try_sudo "printf \"#{release_history}\" > #{release_file}" end # Get the database name given an application and release name def get_db_name(application, release) db_name = "#{application}__#{release}"