Skip to content

Commit

Permalink
escape double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
ronniedada committed Jul 25, 2013
1 parent 2c5a532 commit f977ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbooks/couchbase/recipes/setup-2.1.0.rb
Expand Up @@ -153,7 +153,7 @@
" --server-add=#{ip}" +
" --server-add-username=#{username}" +
" --server-add-password=#{password} 2>\&1"
cmd = "for i in {1..5}; do x=\`#{add}\`; if [[ -z "$x" ]]; then break; else sleep 30 && echo 'retrying...'$i; fi; done"
cmd = "for i in {1..5}; do x=\`#{add}\`; if [[ -z \"$x\" ]]; then break; else sleep 30 && echo 'retrying...'$i; fi; done"
begin
log("clustering - server-add cmd: #{cmd}")
execute "clustering - server-add cmd: #{cmd}" do
Expand Down

0 comments on commit f977ed5

Please sign in to comment.