Skip to content

Commit

Permalink
Fix rebar recipe for Ubuntu 11.04, resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Nov 26, 2011
1 parent 7dfbd29 commit d6549ea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vagrant_base/rebar/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@

script "install rebar" do
interpreter "bash"
user node.rebar.user
user "root"
cwd "/tmp"
code <<-EOH
source /home/#{node.kerl.user}/otp/R14B02/activate
tar xvf /tmp/rebar.tar.gz && cd /tmp/#{node.rebar.release_dir} && ./bootstrap && chmod +x rebar && sudo cp rebar #{node.rebar.path}
tar xvf /tmp/rebar.tar.gz && cd /tmp/#{node.rebar.release_dir} && ./bootstrap && chmod +x rebar && cp rebar #{node.rebar.path}
chown #{node.rebar.user} #{node.rebar.path}
EOH
end

0 comments on commit d6549ea

Please sign in to comment.