Skip to content

Commit

Permalink
Merge pull request #120 from xeon22/develop
Browse files Browse the repository at this point in the history
Fix for issue #119
  • Loading branch information
KAllan357 committed Mar 7, 2014
2 parents 70d728b + 23a927f commit 86c25a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def load_current_resource
else
sha = Digest::SHA1.hexdigest new_resource.location
@extension = new_resource.location.match(/[:\.]([0-9a-z]+)$/i)[1]
@file_name = "#{new_resource.name}-#{sha}.#{ext}"
@file_name = "#{new_resource.name}-#{sha}.#{@extension}"
end
@current_resource = Chef::Resource::ArtifactPackage.new(@new_resource.name)
@current_resource
Expand Down

0 comments on commit 86c25a0

Please sign in to comment.