s-shin / linter-perl-lint

https://atom.io/packages/linter-perl-lint
MIT License
0 stars 0 forks source link

Won't allow Perl::Lint installed via local::lib #1

Open matthewlenz opened 8 years ago

matthewlenz commented 8 years ago

Not really sure why your Perl::Lint check fails as no other software on the system ignores the environment setup by the .bashrc. Maybe it execs without a shell? Not sure.

InsomniacSoftware commented 8 years ago

@matthewlenz The lint script runs in a "non-interactive login" shell. This means it only reads/executes the .bash_profile, .bash_login, or .profile file, whichever one it finds first. Only an "interactive non-login" shell reads the .bashrc file.

See the INVOCATION section of man bash for more details on when these different files are loaded

If you copy the local::lib configuration (and perhaps any other related PERL or PATH variables) from your .bashrc file into your .bash_profile file, this lint script should work.