Browse files

fixed sed command to do inline find / replace

  • Loading branch information...
1 parent 7409b4c commit c6dee7294d12b8fb81fab825f5c5389685af68b4 Mike committed Nov 8, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Capfile
View
2 Capfile
@@ -21,7 +21,7 @@ namespace :redis do
out = ENV['out']
run "cp #{deploy_to}/current/cap/conf/#{template} #{out}"
- run "sed -i s/REDISPORT/#{port}/g #{out}"
+ run "sed -i -e 's/REDISPORT/#{port}/g' #{out}"
end
task :start do

0 comments on commit c6dee72

Please sign in to comment.