mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
unpack: preserve file attributes like mtime
Closes Homebrew/homebrew#48068. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
8deec537d1
commit
4a8632e54d
@ -28,7 +28,7 @@ module Homebrew
|
|||||||
ENV["VERBOSE"] = "1" # show messages about tar
|
ENV["VERBOSE"] = "1" # show messages about tar
|
||||||
f.brew do
|
f.brew do
|
||||||
f.patch if ARGV.flag?("--patch")
|
f.patch if ARGV.flag?("--patch")
|
||||||
cp_r getwd, stage_dir
|
cp_r getwd, stage_dir, :preserve => true
|
||||||
end
|
end
|
||||||
ENV["VERBOSE"] = nil
|
ENV["VERBOSE"] = nil
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user