packages: gitolite/lib.patch - one more file to fix

pawelz pawelz at pld-linux.org
Mon Jun 7 16:03:25 CEST 2010


Author: pawelz                       Date: Mon Jun  7 14:03:25 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- one more file to fix

---- Files affected:
packages/gitolite:
   lib.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/gitolite/lib.patch
diff -u packages/gitolite/lib.patch:1.2 packages/gitolite/lib.patch:1.3
--- packages/gitolite/lib.patch:1.2	Mon Jun  7 15:10:37 2010
+++ packages/gitolite/lib.patch	Mon Jun  7 16:03:18 2010
@@ -34,3 +34,15 @@
  
  # ask where the rc file is, get it, and "do" it
  &where_is_rc();
+--- gitolite-1.5.1/hooks/common/update~	2010-06-02 08:59:47.000000000 +0200
++++ gitolite-1.5.1/hooks/common/update	2010-06-07 16:00:47.000000000 +0200
+@@ -35,7 +35,8 @@
+ # we should already have the GL_RC env var set when we enter this hook
+ die "parse $ENV{GL_RC} failed: "       . ($! or $@) unless do $ENV{GL_RC};
+ 
+-require "$ENV{GL_BINDIR}/gitolite.pm";
++use lib "/usr/share/gitolite/lib";
++require gitolite;
+ 
+ my ($perm, $creator, $wild) = &repo_rights($ENV{GL_REPO});
+ my $reported_repo = $ENV{GL_REPO} . ( $ENV{GL_REPOPATT} ? " ($ENV{GL_REPOPATT})" : "" );
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gitolite/lib.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list