summaryrefslogtreecommitdiffstats
path: root/debian/patches/fix-paths
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 09:55:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 09:55:51 +0000
commit0ae57c13c2b61646cc70617eb118ccb3fc19e995 (patch)
tree3760e33eb72a4955ffa88d9cfa60579bab714dd6 /debian/patches/fix-paths
parentAdding upstream version 3.6.12. (diff)
downloadgitolite3-0ae57c13c2b61646cc70617eb118ccb3fc19e995.tar.xz
gitolite3-0ae57c13c2b61646cc70617eb118ccb3fc19e995.zip
Adding debian version 3.6.12-1.debian/3.6.12-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/fix-paths')
-rw-r--r--debian/patches/fix-paths38
1 files changed, 38 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};
+