Open matthewlenz opened 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.
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.