1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Set typeflag [Bug #15461]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-12-25 13:13:42 +00:00
parent 2336494ea3
commit b52f145889

View file

@ -179,7 +179,7 @@ def tar_create(tarball, dir)
next
end
name, prefix = w.split_name(path)
h = header.new(name: name, prefix: prefix,
h = header.new(name: name, prefix: prefix, typeflag: type,
mode: s.mode, size: size, mtime: s.mtime,
uname: uname, gname: gname)
f.write(h)