Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-02-17 02:09:12 +0300
committerisaacs <i@izs.me>2011-02-17 02:09:12 +0300
commit822042693853085087a75c8215d5926bbf1f8769 (patch)
treec269df7f6696ce25abfa1bcee1c85b9798585e23
parent3bb24411ca9a5cf08b949b79d690c4a16c53856b (diff)
Don't change modification times on extracted files
-rw-r--r--lib/cache.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cache.js b/lib/cache.js
index f5e01156d..2a4f1c8c7 100644
--- a/lib/cache.js
+++ b/lib/cache.js
@@ -417,7 +417,7 @@ function unpackTar_ ( tarball, unpackTarget, dMode, fMode, uid, gid, cb ) {
, ["--decompress", "--stdout", tarball]
, process.env, false, null, uid, gid )
, spawn( npm.config.get("tar")
- , ["-vxpf", "-", "-C", unpackTarget]
+ , ["-mvxpf", "-", "-C", unpackTarget]
, process.env, false, null, uid, gid )
, function (er) {
if (er) return log.er(cb,