summaryrefslogtreecommitdiff
path: root/app/views/errors
diff options
context:
space:
mode:
authorgliptak <gliptak@users.sourceforge.net>2012-07-19 12:39:02 -0300
committergliptak <gliptak@users.sourceforge.net>2012-07-19 12:39:02 -0300
commit44ec5579bd73ef1f712e3a116fab5492f19b48ec (patch)
treef645cac2295e0976f2837539886f1cb99b9a8567 /app/views/errors
parent14649525971d7351120f659213aad0e40722bc44 (diff)
downloadgitlab-ce-44ec5579bd73ef1f712e3a116fab5492f19b48ec.tar.gz
Display configured git repository location on error page (this is partially addressing issue #1072)
Diffstat (limited to 'app/views/errors')
-rw-r--r--app/views/errors/gitolite.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/errors/gitolite.html.haml b/app/views/errors/gitolite.html.haml
index ccee757378d..3691b309698 100644
--- a/app/views/errors/gitolite.html.haml
+++ b/app/views/errors/gitolite.html.haml
@@ -15,5 +15,5 @@
Try:
%pre
= preserve do
- sudo chmod -R 770 /home/git/repositories/
- sudo chown -R git:git /home/git/repositories/
+ sudo chmod -R 770 #{Gitlab.config.git_base_path}
+ sudo chown -R git:git #{Gitlab.config.git_base_path} \ No newline at end of file