From: Martin Mares Date: Sun, 8 Feb 2015 20:34:01 +0000 (+0100) Subject: Updated path to Perl modules X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=13b9baf80f95b96e7136fca06f90068a02b7384e;p=gallery.git Updated path to Perl modules --- diff --git a/gal b/gal index f16a5f7..6c4daae 100755 --- a/gal +++ b/gal @@ -54,7 +54,7 @@ my $sub_path = "$gallery_root/bin/gal-$sub"; -x $sub_path or die "Unknown subcommand $sub\n"; $ENV{"GALLERY_ROOT"} = $gallery_root; -$ENV{"PERL5LIB"} = join(":", $gallery_root, $ENV{"PERL5LIB"} // ()); +$ENV{"PERL5LIB"} = join(":", $gallery_root . "/lib", $ENV{"PERL5LIB"} // ()); if (!$all) { exec $sub_path, @ARGV;