Don't preserve modified time when untarring files [GH-1539]
This commit is contained in:
parent
fd0661c20e
commit
cf9eb509a9
|
@ -31,6 +31,7 @@ IMPROVEMENTS:
|
|||
BUG FIXES:
|
||||
|
||||
- The `:mac` option for host-only networks is respected. [GH-1536]
|
||||
- Don't preserve modified time when untarring boxes. [GH-1539]
|
||||
|
||||
## 1.1.6 (April 3, 2013)
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@ module Vagrant
|
|||
# Extract the box into a temporary directory.
|
||||
@logger.debug("Unpacking box into temporary directory: #{temp_dir}")
|
||||
result = Util::Subprocess.execute(
|
||||
"bsdtar", "-v", "-x", "-C", temp_dir.to_s, "-f", path.to_s)
|
||||
"bsdtar", "-v", "-x", "-m", "-C", temp_dir.to_s, "-f", path.to_s)
|
||||
raise Errors::BoxUnpackageFailure, :output => result.stderr.to_s if result.exit_code != 0
|
||||
|
||||
# If we get a V1 box, we want to update it in place
|
||||
|
|
Loading…
Reference in New Issue