blob: f702b5592571f074666829fc94f7a5dd935f0b8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
From: David Bremner <bremner@debian.org>
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};
|