lib/fig/environment.rb in fig-0.1.33 vs lib/fig/environment.rb in fig-0.1.34
- old
+ new
@@ -149,13 +149,10 @@
target = File.join(@retrieve_vars[name].gsub(/\[package\]/, base_package.package_name))
if not File.directory?(file)
target = File.join(target, File.basename(file))
end
end
- unless @os.exist?(target) && @os.mtime(target) >= @os.mtime(file)
- @os.log_info("retrieving #{target}")
- @os.copy(file, target)
- end
+ @os.copy(file, target, "retrieving")
file = target
end
file
end