Skip to content
Browse files

fix not_if check in the make install stage to actually work

  • Loading branch information...
1 parent bc4f99a commit 0af3348ef2ce9d77d8e04b8dc07222985d543a72 @mdxp committed Feb 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 recipes/default.rb
View
2 recipes/default.rb
@@ -58,5 +58,5 @@
execute "make install" do
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

0 comments on commit 0af3348

Please sign in to comment.
Something went wrong with that request. Please try again.