[DRE-commits] [librarian-puppet] 17/97: Allow repositories to maintain modified dates on files when they are copied into the modules directory
Stig Sandbeck Mathisen
ssm at debian.org
Tue Mar 11 12:12:47 UTC 2014
This is an automated email from the git hooks/post-receive script.
ssm pushed a commit to branch master
in repository librarian-puppet.
commit da9132abaec584d2f5889561eab6752ac0bca9d4
Author: Danny Beutler <dbeutler at alianza.com>
Date: Tue Nov 26 14:11:16 2013 -0700
Allow repositories to maintain modified dates on files when they are copied into the modules directory
---
lib/librarian/puppet/source/local.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librarian/puppet/source/local.rb b/lib/librarian/puppet/source/local.rb
index e8ceb56..03b1d52 100644
--- a/lib/librarian/puppet/source/local.rb
+++ b/lib/librarian/puppet/source/local.rb
@@ -41,7 +41,7 @@ module Librarian
def install_perform_step_copy!(found_path, install_path)
debug { "Copying #{relative_path_to(found_path)} to #{relative_path_to(install_path)}" }
- FileUtils.cp_r(found_path, install_path)
+ FileUtils.cp_r(found_path, install_path, :preserve => true)
end
def manifest?(name, path)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/librarian-puppet.git
More information about the Pkg-ruby-extras-commits
mailing list