Permalink
Browse files

Changed from execute to bash

  • Loading branch information...
1 parent d1d1403 commit 4858638aa3435635cb98a06f9ae600421c4d3f36 @mraaroncruz committed Sep 10, 2012
Showing with 4 additions and 7 deletions.
  1. +2 −4 cookbooks/mlt/recipes/melted_git.rb
  2. +2 −3 cookbooks/mlt/recipes/mlt_git.rb
@@ -5,8 +5,8 @@
action :checkout
end
-execute "Install melted" do
- cmd = <<-COMMAND.gsub(/^\s*/, '')
+bash "Install melted" do
+ code <<-COMMAND.gsub(/^\s*/, '')
cd #{node[:melted][:source_directory]}
./configure --prefix=/usr/local
cd src
@@ -29,7 +29,5 @@
make install
ldconfig
COMMAND
- command cmd
- action :run
end
@@ -5,13 +5,12 @@
action :checkout
end
-execute "Install mlt" do
- command <<-COMMAND.gsub(/^\s*/,'')
+bash "Install mlt" do
+ code <<-COMMAND.gsub(/^\s*/,'')
cd #{node[:mlt][:source_directory]}
./configure
make
make install
ldconfig
COMMAND
- action :run
end

0 comments on commit 4858638

Please sign in to comment.