summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-17 01:41:57 -0500
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-17 01:41:57 -0500
commit603cc6a15dc00e37915cf7fad5f07a076be90cda (patch)
tree0e9de1653ec601da8cc2b406bb0944aaa3e4d635 /lib
parentdda5861fc9acb21755d5489a7e81de5cc4f87101 (diff)
downloadgitlab-shell-603cc6a15dc00e37915cf7fad5f07a076be90cda.tar.gz
Fix syntax of git init command
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab_shell.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb
index 77e278c..d053ffb 100644
--- a/lib/gitlab_shell.rb
+++ b/lib/gitlab_shell.rb
@@ -131,7 +131,7 @@ class GitlabShell
full_repo_path = File.join(repos_path, path)
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')
$logger.info "Enable git-annex for repository: #{path}."
end