diff options
author | isaacs <i@izs.me> | 2010-03-01 12:41:47 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-03-01 12:41:47 +0300 |
commit | 530ae743b016615f0fdf4529723cad6a5ed9bd61 (patch) | |
tree | d3edf707ca7c7cbaa4977356516bd80719fe46c9 /scripts/activate.js | |
parent | 3e9607fad66c24d6bb6cf2405920c729ea376f69 (diff) |
Use the correct env var
Diffstat (limited to 'scripts/activate.js')
-rwxr-xr-x | scripts/activate.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/activate.js b/scripts/activate.js index 990ded0e4..3fc52a24f 100755 --- a/scripts/activate.js +++ b/scripts/activate.js @@ -1,6 +1,6 @@ #!/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", versionedBin = "/usr/local/bin/npm-"+version; |