[DRE-commits] [gitlab-shell] 02/03: update root path
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Mon Dec 28 19:06:40 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository gitlab-shell.
commit 63820e3c8847c40d94ef1e1fb5d2555fdc8b41c0
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Tue Dec 29 00:24:42 2015 +0530
update root path
---
debian/patches/set-root-path.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/patches/set-root-path.patch b/debian/patches/set-root-path.patch
index 5fde805..b2205c4 100644
--- a/debian/patches/set-root-path.patch
+++ b/debian/patches/set-root-path.patch
@@ -5,7 +5,7 @@ Index: gitlab-shell/lib/gitlab_init.rb
@@ -1,3 +1,7 @@
-ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__), ".."))
+if ENV['SHELL_ROOT_PATH'].nil? || ENV['SHELL_ROOT_PATH'].empty?
-+ ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__), ".."))
++ ROOT_PATH = '/usr/share/gitlab-shell'
+else
+ ROOT_PATH = ENV['SHELL_ROOT_PATH']
+end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab-shell.git
More information about the Pkg-ruby-extras-commits
mailing list