[Pkg-javascript-commits] [node-jsonstream] 05/07: Add patch to use nodejs instead of node

Sruthi Chandran srud-guest at moszumanska.debian.org
Wed Oct 12 08:08:47 UTC 2016


This is an automated email from the git hooks/post-receive script.

srud-guest pushed a commit to branch master
in repository node-jsonstream.

commit 79081195140ff952ce3d656edb09930ba72a75f2
Author: Sruthi <srud at disroot.org>
Date:   Wed Oct 12 13:14:50 2016 +0530

    Add patch to use nodejs instead of node
---
 debian/patches/series      | 1 +
 debian/patches/use-node-js | 8 ++++++++
 2 files changed, 9 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..dcfd05f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-node-js
diff --git a/debian/patches/use-node-js b/debian/patches/use-node-js
new file mode 100644
index 0000000..28734de
--- /dev/null
+++ b/debian/patches/use-node-js
@@ -0,0 +1,8 @@
+--- a/index.js
++++ b/index.js
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env node
++#! /usr/bin/env nodejs
+ 
+ var Parser = require('jsonparse')
+   , through = require('through')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-jsonstream.git



More information about the Pkg-javascript-commits mailing list