Skip to content
Snippets Groups Projects
Commit f210a5d8 authored by Izaak Alpert's avatar Izaak Alpert
Browse files

Updated setup to reference the gitlab-shell var

-Well really it uses what everything else uses -- would be nice to have this as a specific config var

Change-Id: I08cef6080950bf40360b461abd2535ea8890410d
parent 63b78a39
No related branches found
No related tags found
1 merge request!3583Updated setup to reference the gitlab-shell var
gitlab_shell_path = File.expand_path("~#{Gitlab.config.gitlab_shell.ssh_user}")
root = Gitlab.config.gitlab_shell.repos_path
 
projects = [
Loading
Loading
@@ -17,8 +18,7 @@ projects.each do |project|
print '-'
next
end
if system("/home/git/gitlab-shell/bin/gitlab-projects import-project #{project[:path]} #{project[:git]}")
if system("#{gitlab_shell_path}/gitlab-shell/bin/gitlab-projects import-project #{project[:path]} #{project[:git]}")
print '.'
else
print 'F'
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment