Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
9cab79cb
Commit
9cab79cb
authored
Jan 17, 2013
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix gitolite config checks for old Gitolite versions
Fixes #2608
parent
8f9dec28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+2
-2
No files found.
lib/tasks/gitlab/check.rake
View file @
9cab79cb
...
...
@@ -570,7 +570,7 @@ namespace :gitlab do
else
# assume older version
# see https://github.com/sitaramc/gitolite/blob/v2.3/conf/example.gitolite.rc#L49
"$GL_GITCONFIG_KEYS"
"
\\
$GL_GITCONFIG_KEYS"
end
option_value
=
".*"
if
open
(
gitoliterc_path
).
grep
(
/
#{
option_name
}
\s*=[>]?\s*["']
#{
option_value
}
["']/
).
any?
...
...
@@ -599,7 +599,7 @@ namespace :gitlab do
else
# assume older version
# see https://github.com/sitaramc/gitolite/blob/v2.3/conf/example.gitolite.rc#L32
"$REPO_UMASK"
"
\\
$REPO_UMASK"
end
option_value
=
"0007"
if
open
(
gitoliterc_path
).
grep
(
/
#{
option_name
}
\s*=[>]?\s*
#{
option_value
}
/
).
any?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment