diff options
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/fix-paths | 38 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 39 insertions, 0 deletions
diff --git a/debian/patches/fix-paths b/debian/patches/fix-paths new file mode 100644 index 0000000..f702b55 --- /dev/null +++ b/debian/patches/fix-paths @@ -0,0 +1,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}; + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..3c34057 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +fix-paths |