tasks/nightly_repos.rake in packaging-0.109.6 vs tasks/nightly_repos.rake in packaging-0.109.7
- old
+ new
@@ -105,10 +105,10 @@
# repo configs and link in the latest repos. The repo_configs are
# renamed to project-latest-$platform.{list,repo} to ensure that their
# names stay the same between runs. Their contents have the ref
# stripped off and the project replaced by $project-latest. Then the
# repos directory is a symlink to the last pushed ref's repos.
- FileUtils.cp_r(File.join(local_target, "repo_configs"), "#{Pkg::Config.project}-latest", { :preserve => true })
+ FileUtils.cp_r(File.join(local_target, "repo_configs"), "#{Pkg::Config.project}-latest", preserve: true)
# Now we need to remove the ref and replace $project with
# $project-latest so that it will work as a pinned latest repo
# Also rename the repo config to a static filename.
Dir.glob("#{Pkg::Config.project}-latest/repo_configs/**/*").select { |t_config| File.file?(t_config) }.each do |config|