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:
parent
2336494ea3
commit
b52f145889
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue