LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File nodejs-add_missing_shebang_to_read-package-json.patch of Package nodejs (Project openSUSE:Factory)

diff --git a/deps/npm/bin/read-package-json.js b/deps/npm/bin/read-package-json.js
index 3e5a0c7..018824a 100755
--- a/deps/npm/bin/read-package-json.js
+++ b/deps/npm/bin/read-package-json.js
@@ -1,3 +1,4 @@
+#!/usr/bin/env node
 var argv = process.argv
 if (argv.length < 3) {
   console.error("Usage: read-package.json <file> [<fields> ...]")