Commit a3945744438447eb2ec9bea943f7efb2b695753a
1 parent
ad6eb0b6
Exists in
master
and in
2 other branches
Sync from project_dir, not from .
Showing
4 changed files
with
4 additions
and
4 deletions
Show diff stats
config/software/gitlab-cookbooks.rb
... | ... | @@ -24,5 +24,5 @@ source :path => File.expand_path("files/gitlab-cookbooks", Config.project_root) |
24 | 24 | |
25 | 25 | build do |
26 | 26 | command "mkdir -p #{install_dir}/embedded/cookbooks" |
27 | - sync ".", "#{install_dir}/embedded/cookbooks/" | |
27 | + sync project_dir, "#{install_dir}/embedded/cookbooks/" | |
28 | 28 | end | ... | ... |
config/software/gitlab-ctl.rb
config/software/gitlab-rails.rb
... | ... | @@ -87,7 +87,7 @@ build do |
87 | 87 | command "cp db/schema.rb db/schema.rb.bundled" |
88 | 88 | |
89 | 89 | command "mkdir -p #{install_dir}/embedded/service/gitlab-rails" |
90 | - sync ".", "#{install_dir}/embedded/service/gitlab-rails/", exclude: %w{.git .gitignore} | |
90 | + sync project_dir, "#{install_dir}/embedded/service/gitlab-rails/", exclude: %w{.git .gitignore} | |
91 | 91 | |
92 | 92 | # Create a wrapper for the rake tasks of the Rails app |
93 | 93 | erb :dest => "#{install_dir}/bin/gitlab-rake", | ... | ... |
config/software/gitlab-shell.rb
... | ... | @@ -25,7 +25,7 @@ source :git => "https://gitlab.com/gitlab-org/gitlab-shell.git" |
25 | 25 | |
26 | 26 | build do |
27 | 27 | command "mkdir -p #{install_dir}/embedded/service/gitlab-shell" |
28 | - sync ".", "#{install_dir}/embedded/service/gitlab-shell/", exclude: %{.git .gitignore} | |
28 | + sync project_dir, "#{install_dir}/embedded/service/gitlab-shell/", exclude: %{.git .gitignore} | |
29 | 29 | block do |
30 | 30 | env_shebang = "#!/usr/bin/env ruby" |
31 | 31 | `grep -r -l '^#{env_shebang}' #{project_dir}`.split("\n").each do |ruby_script| | ... | ... |