Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix not_if check in the make install stage to actually work

  • Loading branch information...
commit 0af3348ef2ce9d77d8e04b8dc07222985d543a72 1 parent bc4f99a
@mdxp authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.