Permalink
Browse files

Added a warning if install path is not in PERL6LIB

  • Loading branch information...
1 parent 1f33f8e commit eb5afb473451ef0a9719378c530a40632e64296d @tadzik committed Sep 15, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 bin/neutro
View
4 bin/neutro
@@ -15,6 +15,10 @@ my %modules;
# check if modules list is present, update it otherwise
sub checklist {
+ if %*ENV<PERL6LIB>.index($INSTALLDIR) ~~ Failure {
+ notice "$INSTALLDIR is not in your PERL6LIB env variable, "
+ ~ "you may not be able to use the installed modules";
+ }
unless $CONFIGDIR.IO ~~ :d {
mkdir $CONFIGDIR, :p;
}

0 comments on commit eb5afb4

Please sign in to comment.