Commit f210a5d8320365e27da8c75b054deedcb9cd8ea7

Authored by Izaak Alpert
1 parent 63b78a39

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
Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
db/fixtures/development/02_source_code.rb
  1 +gitlab_shell_path = File.expand_path("~#{Gitlab.config.gitlab_shell.ssh_user}")
1 root = Gitlab.config.gitlab_shell.repos_path 2 root = Gitlab.config.gitlab_shell.repos_path
2 3
3 projects = [ 4 projects = [
@@ -17,8 +18,7 @@ projects.each do |project| @@ -17,8 +18,7 @@ projects.each do |project|
17 print '-' 18 print '-'
18 next 19 next
19 end 20 end
20 -  
21 - if system("/home/git/gitlab-shell/bin/gitlab-projects import-project #{project[:path]} #{project[:git]}") 21 + if system("#{gitlab_shell_path}/gitlab-shell/bin/gitlab-projects import-project #{project[:path]} #{project[:git]}")
22 print '.' 22 print '.'
23 else 23 else
24 print 'F' 24 print 'F'