diff options
author | Izaak Alpert <ihalpert@blackberry.com> | 2013-04-12 15:16:08 -0400 |
---|---|---|
committer | Izaak Alpert <ihalpert@blackberry.com> | 2013-04-12 15:19:18 -0400 |
commit | f210a5d8320365e27da8c75b054deedcb9cd8ea7 (patch) | |
tree | 6163e9965832e7cba9095146c2c65c38fb29af02 /db | |
parent | 63b78a3989e00b917e51841d4960beca9a11b315 (diff) | |
download | gitlab-ce-f210a5d8320365e27da8c75b054deedcb9cd8ea7.tar.gz |
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
Diffstat (limited to 'db')
-rw-r--r-- | db/fixtures/development/02_source_code.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/fixtures/development/02_source_code.rb b/db/fixtures/development/02_source_code.rb index a0a46c9e927..5ce5bcf4aba 100644 --- a/db/fixtures/development/02_source_code.rb +++ b/db/fixtures/development/02_source_code.rb @@ -1,3 +1,4 @@ +gitlab_shell_path = File.expand_path("~#{Gitlab.config.gitlab_shell.ssh_user}") root = Gitlab.config.gitlab_shell.repos_path projects = [ @@ -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' |