Permalink
Browse files

version detection fix

  • Loading branch information...
1 parent 031a89b commit 28bb353bb6af1d26f527b5ee91041ded788b0cda @everm1nd committed May 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 recipes/source.rb
View
@@ -35,7 +35,7 @@
(cd mosh-#{version} && make install)
EOH
action :nothing
- not_if "mosh -v | head -1 | grep -qx 'mosh #{version}'"
+ not_if "mosh -v 2>&1 | head -1 | grep -qx 'mosh #{version}'"
end
remote_file "#{Chef::Config[:file_cache_path]}/mosh-#{version}.tar.gz" do

0 comments on commit 28bb353

Please sign in to comment.