Skip to content

Commit

Permalink
fix not_if check in the make install stage to actually work
Browse files Browse the repository at this point in the history
  • Loading branch information
mdxp committed Feb 2, 2012
1 parent bc4f99a commit 0af3348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@


execute "make install" do execute "make install" do
cwd "/usr/local/src/node-v#{node[:nodejs][:version]}" cwd "/usr/local/src/node-v#{node[:nodejs][:version]}"
not_if "test `#{node[:nodejs][:dir]}/bin/node` == 'v#{node[:nodejs][:version]}'" not_if { `#{node[:nodejs][:dir]}/bin/node --version`.chomp == "v#{node[:nodejs][:version]}" }
end end

0 comments on commit 0af3348

Please sign in to comment.