Commit 1c3991ec authored by fbomj's avatar fbomj

Removal of the current directory (.) from @INC

parent e73ef980
# Avoid installation issue introduced by perl 5.24.1 removing '.' path from
# @INC to avoid possible module injection in normal running perl scripts
push @INC, '.' if ( $^V && $^V gt 'v5.24' );
use inc::Module::Install;
......@@ -16,7 +21,7 @@ install :: all pure_install doc_install
return $re;
require './lib/Ocsinventory/Agent/';
require 'lib/Ocsinventory/Agent/';
use Config;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment