Permalink
Browse files

Stupid OS X and it's magic environment vars.

  • Loading branch information...
1 parent 2f87c6e commit 57e9933abcadf1d150f77763ccd7aca455c80b5c @isaacs isaacs committed Mar 3, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/cache.js
View
@@ -494,7 +494,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) {

0 comments on commit 57e9933

Please sign in to comment.