Skip to content

Commit

Permalink
Merge pull request #181 from ttyS4/fix-inc
Browse files Browse the repository at this point in the history
remove '.' from @inc
  • Loading branch information
jrha authored Dec 18, 2017
2 parents f7fb4d1 + cd0ce0e commit 147f020
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/bin/ccm
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use warnings;
# required for CAF
BEGIN {
unshift(@INC, '/usr/lib/perl');
pop @INC if $INC[-1] eq '.';
}

# minimal Path
Expand Down
1 change: 1 addition & 0 deletions src/main/bin/ccm-fetch
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ use warnings;
# required for CAF (Common Application Framework)
BEGIN {
unshift(@INC, '/usr/lib/perl');
pop @INC if $INC[-1] eq '.';
}

use CAF::Application;
Expand Down
1 change: 1 addition & 0 deletions src/main/bin/ccm-initialise
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ use warnings;

BEGIN {
unshift(@INC, '/usr/lib/perl');
pop @INC if $INC[-1] eq '.';
}

use CAF::Application;
Expand Down
1 change: 1 addition & 0 deletions src/main/bin/ccm-purge
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use warnings;

BEGIN {
unshift(@INC, '/usr/lib/perl');
pop @INC if $INC[-1] eq '.';
}

use Getopt::Long;
Expand Down

0 comments on commit 147f020

Please sign in to comment.