New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow running of Bot::Cobalt from 'git clone'd directory #7

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant
@trwww

trwww commented Feb 4, 2017

Bot::Cobalt will only run when it has been 'make install'ed or equivalent
because of the File::ShareDir::dist_dir('Bot-Cobalt') call.

This change allows running Bot::Cobalt from the source directory by looking in
itself for the core language file if trying to find it via dist_dir fails.

This pull request was done as my assignment for the January 2017 CPAN pull request challenge:

http://cpan-prc.org/2017/january.html

allow running of Bot::Cobalt from 'git clone'd directory
Bot::Cobalt will only run when it has been 'make install'ed or equivalent
because of the File::ShareDir::dist_dir('Bot-Cobalt') call.

This change allows running Bot::Cobalt from the source directory by looking in
itself for the core language file if trying to find it via dist_dir fails.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment