[DRE-commits] [gitlab] 01/01: export all variables

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Feb 9 14:00:32 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository gitlab.

commit a9ac6ab664fedab5a38690a6add9081f96aaace2
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Feb 9 19:30:07 2016 +0530

    export all variables
---
 debian/conf/gitlab | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/conf/gitlab b/debian/conf/gitlab
index c9a4fa2..9309400 100755
--- a/debian/conf/gitlab
+++ b/debian/conf/gitlab
@@ -7,8 +7,9 @@
 # Normal values are "production", "test" and "development".
 RAILS_ENV="production"
 
-# Read debian specific configuration
-. /etc/gitlab/gitlab-debian.conf
+# Read and export debian specific configuration
+# Only exported variables will be passed on to gitlab app
+for i in $(cat /etc/gitlab/gitlab-debian.conf); do export $i; done
 
 # DB needs to be exported for some commands
 export DB=${DB}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list