We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 73ee4ee + 2013178 commit dee6d9cCopy full SHA for dee6d9c
metasploit-framework.gemspec
@@ -3,7 +3,7 @@
3
# During build, the Gemfile is temporarily moved and
4
# we must manually define the project root
5
if ENV['MSF_ROOT']
6
- lib = Pathname.new(ENV['MSF_ROOT']).join('lib').to_path
+ lib = File.realpath(File.expand_path('lib', ENV['MSF_ROOT']))
7
else
8
# have to use realpath as metasploit-framework is often loaded through a symlink and tools like Coverage and debuggers
9
# require realpaths.
0 commit comments