Skip to content

Commit

Permalink
remove '.' from @inc
Browse files Browse the repository at this point in the history
This is the same as in quattor/CCM#181
  • Loading branch information
ttyS4 committed Jan 24, 2018
1 parent f77f984 commit 212995e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/scripts/ncm-query
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,11 @@ toolsuite.

package query;

use lib "/usr/lib/perl";
BEGIN {
pop @INC if $INC[-1] eq '.';
use lib "/usr/lib/perl";
}

use CAF::Application;
use CAF::Reporter;
use LC::Exception qw (SUCCESS throw_error);
Expand Down

0 comments on commit 212995e

Please sign in to comment.