Commit 603cc6a1 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix syntax of git init command

parent dda5861f
...@@ -131,7 +131,7 @@ class GitlabShell ...@@ -131,7 +131,7 @@ class GitlabShell
full_repo_path = File.join(repos_path, path) full_repo_path = File.join(repos_path, path)
unless File.exists?(File.join(full_repo_path, 'annex')) unless File.exists?(File.join(full_repo_path, 'annex'))
cmd = %W(git --git-dir=#{full_repo_path} annex init 'GitLab'") cmd = %W(git --git-dir=#{full_repo_path} annex init "GitLab")
system(*cmd, err: '/dev/null', out: '/dev/null') system(*cmd, err: '/dev/null', out: '/dev/null')
$logger.info "Enable git-annex for repository: #{path}." $logger.info "Enable git-annex for repository: #{path}."
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment