Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed from execute to bash

  • Loading branch information...
commit 4858638aa3435635cb98a06f9ae600421c4d3f36 1 parent d1d1403
@pferdefleisch authored
View
6 cookbooks/mlt/recipes/melted_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
View
5 cookbooks/mlt/recipes/mlt_git.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.