Permalink
Browse files

Remove hashes

  • Loading branch information...
1 parent 30ea31e commit 6502317825fa29b380c667eb25fe471cf3db31fd @markjaquith committed Jun 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tasks.rb
View
@@ -69,7 +69,7 @@
desc "Sets the database credentials in wp-config.php"
task :make_config do
{:'%%DB_NAME%%' => wpdb[stage][:name], :'%%DB_USER%%' => wpdb[stage][:user], :'%%DB_PASSWORD%%' => wpdb[stage][:password], :'%%DB_HOST%%' => wpdb[stage][:host]}.each do |k,v|
- run "sed -i 's/###{k}##/#{v}/' #{release_path}/wp-config.php", :roles => :web
+ run "sed -i 's/#{k}/#{v}/' #{release_path}/wp-config.php", :roles => :web
end
end
end

0 comments on commit 6502317

Please sign in to comment.