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:
Diffstat (limited to 'scripts/install.js')
-rwxr-xr-xscripts/install.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install.js b/scripts/install.js
index 603f73d69..b160d4d5c 100755
--- a/scripts/install.js
+++ b/scripts/install.js
@@ -1,7 +1,7 @@
#!/usr/local/bin/node
var fs = require("fs"),
- version = process.env["npm.package.version"],
+ version = process.env.npm_package_version,
bin = "/usr/local/bin/npm-"+version,
clijs = require("path").join(process.cwd(), "cli.js"),
sys = require("sys");