Skip to content

Commit

Permalink
Merge pull request #357 from criteo-forks/link
Browse files Browse the repository at this point in the history
Avoid creating broken link on windows
  • Loading branch information
legal90 authored Oct 7, 2016
2 parents d60cc91 + cb45c69 commit 7abb7b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/consul_installation_binary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def action_create

link '/usr/local/bin/consul' do
to ::File.join(options[:extract_to], new_resource.version, 'consul')
not_if { windows? }
end
end
end
Expand Down

0 comments on commit 7abb7b3

Please sign in to comment.