mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
make-snapshot: fixed mode
"X" must be used in conjunction with "+".
This commit is contained in:
parent
80d5d220b9
commit
5f18635a80
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ def package(vcs, rev, destdir, tmp = nil)
|
|||
FileUtils.mkpath(File.dirname(dest))
|
||||
begin
|
||||
FileUtils.cp_r(file, dest)
|
||||
FileUtils.chmod_R("u=rwX,go=rX", dest)
|
||||
FileUtils.chmod_R("a+rwX,go-w", dest)
|
||||
rescue SystemCallError
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue