lib/core/common.rb in buildr-1.2.9 vs lib/core/common.rb in buildr-1.2.10
- old
+ new
@@ -470,9 +470,10 @@
end
#gsub(/\$\{[^}]*\}/) { |str| mapping[str[2..-2]] || str }
File.open(dest, "wb") { |file| file.write mapped }
when nil # No mapping.
cp source, dest
+ File.chmod(0664, dest)
else
fail "Filter can be a hash (key=>value), or a proc/method; I don't understand #{mapping}"
end
end
end