Add shebangs for bin/ scripts, chmod 755 for completion.sh

This commit is contained in:
Oleg Efimov
2011-07-17 03:26:27 +04:00
committed by isaacs
parent 3c6f74bb00
commit aac97b93c0
3 changed files with 2 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env node
var argv = process.argv.slice(2)
, user = argv[0] || process.getuid()
, group = argv[1] || process.getgid()

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env node
var argv = process.argv
if (argv.length < 3) {
console.error("Usage: read-package.json <file> [<fields> ...]")

0
lib/utils/completion.sh Normal file → Executable file
View File