Skip to content

Commit b05fa9c

Browse files
committed
add missing dirname
1 parent 11b99d9 commit b05fa9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metasploit-framework.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
2424
spec.homepage = 'https://www.metasploit.com'
2525
spec.license = 'BSD-3-clause'
2626

27-
if File.directory?(File.join(__FILE__, ".git"))
27+
if File.directory?(File.join(File.dirname(__FILE__), ".git"))
2828
spec.files = `git ls-files`.split($/).reject { |file|
2929
file =~ /^documentation|^external/
3030
}

0 commit comments

Comments
 (0)