summaryrefslogtreecommitdiff
path: root/deps/npm/bin
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-04-06 14:42:19 -0700
committerisaacs <i@izs.me>2012-04-06 14:42:19 -0700
commit37ac5e52bfaa79be477b4ac123ed05980defe599 (patch)
treeaa8a95c1fb225968f8ad5a55c14d6240d8a7609d /deps/npm/bin
parent0b57fee3f8598e4d16af5ce89714e460dd042700 (diff)
downloadnode-new-37ac5e52bfaa79be477b4ac123ed05980defe599.tar.gz
Update npm to 1.1.16
Diffstat (limited to 'deps/npm/bin')
-rwxr-xr-xdeps/npm/bin/npm-get-uid-gid.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/deps/npm/bin/npm-get-uid-gid.js b/deps/npm/bin/npm-get-uid-gid.js
deleted file mode 100755
index 390e0f2fc9..0000000000
--- a/deps/npm/bin/npm-get-uid-gid.js
+++ /dev/null
@@ -1,16 +0,0 @@
-var argv = process.argv.slice(2)
- , user = argv[0] || process.getuid()
- , group = argv[1] || process.getgid()
-
-if (!isNaN(user)) user = +user
-if (!isNaN(group)) group = +group
-
-console.error([user, group])
-
-try {
- process.setgid(group)
- process.setuid(user)
- console.log(JSON.stringify({uid:+process.getuid(), gid:+process.getgid()}))
-} catch (ex) {
- console.log(JSON.stringify({error:ex.message,errno:ex.errno}))
-}