From: David Bremner Date: Sat, 20 Apr 2013 15:34:13 -0300 Subject: [PATCH] override install paths. This follows the suggestion of http://gitolite.com/gitolite/install.html --- src/gitolite | 2 +- src/gitolite-shell | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gitolite b/src/gitolite index c11e047..4fc9f7f 100755 --- a/src/gitolite +++ b/src/gitolite @@ -35,7 +35,7 @@ written. use FindBin; -BEGIN { $ENV{GL_BINDIR} = $FindBin::RealBin; } +BEGIN { $ENV{GL_BINDIR} = '/usr/share/gitolite3'; } BEGIN { $ENV{GL_LIBDIR} = "$ENV{GL_BINDIR}/lib"; } use lib $ENV{GL_LIBDIR}; use Gitolite::Rc; diff --git a/src/gitolite-shell b/src/gitolite-shell index 072e0ff..322137e 100755 --- a/src/gitolite-shell +++ b/src/gitolite-shell @@ -5,7 +5,7 @@ use FindBin; -BEGIN { $ENV{GL_BINDIR} = $FindBin::RealBin; } +BEGIN { $ENV{GL_BINDIR} = '/usr/share/gitolite3'; } BEGIN { $ENV{GL_LIBDIR} = "$ENV{GL_BINDIR}/lib"; } use lib $ENV{GL_LIBDIR};