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
path: root/lib
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-10-12 04:15:12 +0400
committerisaacs <i@izs.me>2011-10-12 04:15:12 +0400
commitba3d866e39b69a9c2df81fe784ddfc7db1c3d266 (patch)
tree66f8feeba2001fe1c927d9391063c5a03d3026e5 /lib
parentd0e123fa0bfea0cf75c74b4042e79e2f72f738f4 (diff)
Push -o, not [-o]
Diffstat (limited to 'lib')
-rw-r--r--lib/utils/tar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/tar.js b/lib/utils/tar.js
index 95d78f5bc..c2a16d1c9 100644
--- a/lib/utils/tar.js
+++ b/lib/utils/tar.js
@@ -166,7 +166,7 @@ function gunzTarPerm (tarball, tmp, dMode, fMode, uid, gid, cb) {
, tarArgs = ["-zmvxpf", tarball, "-C", tmpTar]
if (process.platform !== "win32" || 0 === process.getuid()) {
- tarArgs.push(["-o"])
+ tarArgs.push("-o")
}
var tar = spawn( npm.config.get("tar")