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-03-04 00:02:05 +0300
committerisaacs <i@izs.me>2011-03-04 00:04:09 +0300
commit7249d2e5041ebf8cea847f6da294909941c4994e (patch)
treec8a38be6a3a4b4b678abdb8466a2d61a1610b749
parent05f7ff1e14997d2d93f1930150fab2fe1fafab61 (diff)
Stupid OS X and it's magic environment vars.
-rw-r--r--lib/cache.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/cache.js b/lib/cache.js
index 01113a6b4..6cd9f1b6a 100644
--- a/lib/cache.js
+++ b/lib/cache.js
@@ -424,7 +424,9 @@ function packTar (targetTarball, folder, pkg, cb) {
for (var i in process.env) {
tarEnv[i] = process.env[i]
}
- tarEnv.COPY_EXTENDED_ATTRIBUTES_DISABLE = 1
+ // Sometimes you make it hard to love you, OS X.
+ tarEnv.COPY_EXTENDED_ATTRIBUTES_DISABLE = "true"
+ tarEnv.COPYFILE_DISABLE = "true"
if (!pkg.files
&& !publishEverythingWarning[pkg._id]
&& !customIgnore) {