Go through regular logic when installing a file

This commit is contained in:
Jack Nagel 2015-03-23 21:01:50 -04:00
parent 3c212ebc3f
commit 86006ba36b

View File

@ -383,7 +383,7 @@ class Pathname
dst.mkpath dst.mkpath
Pathname.glob("#{self}/*") do |file| Pathname.glob("#{self}/*") do |file|
next if file.directory? next if file.directory?
dst.install_p file dst.install(file)
new_file = dst+file.basename new_file = dst+file.basename
file.write_env_script(new_file, env) file.write_env_script(new_file, env)
end end