Use MSF_ROOT instead of MSP_ROOT

bug/bundler_fix
Brandon Turner 2014-07-10 20:22:50 -05:00
parent e6e88ab4fe
commit f29050b6b2
No known key found for this signature in database
GPG Key ID: 0F82931CA3EE1B07
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@
# During build, the Gemfile is temporarily moved and
# we must manually define the project root
if ENV['MSP_ROOT']
lib = Pathname.new(ENV['MSP_ROOT']).join('msf3', 'lib').to_path
if ENV['MSF_ROOT']
lib = Pathname.new(ENV['MSF_ROOT']).join('lib').to_path
else
# have to use realpath as metasploit-framework is often loaded through a symlink and tools like Coverage and debuggers
# require realpaths.