]> mj.ucw.cz Git - gallery.git/commitdiff
Updated path to Perl modules
authorMartin Mares <mj@ucw.cz>
Sun, 8 Feb 2015 20:34:01 +0000 (21:34 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 8 Feb 2015 20:34:01 +0000 (21:34 +0100)
gal

diff --git a/gal b/gal
index f16a5f746fb7c5bfe2a24468740c4383f57f4b49..6c4daaea26fddb1bb24ad3c4e5b1ca8da115898b 100755 (executable)
--- 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;