[Pkg-javascript-commits] [node-umd] 05/08: Add patch to use nodejs instead of node command

Sruthi Chandran srud-guest at moszumanska.debian.org
Thu Oct 13 10:30:09 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-umd.

commit a4f52e33a11ca34932b2774beb1d76f6e66298d1
Author: Sruthi <srud at disroot.org>
Date:   Thu Oct 13 15:44:42 2016 +0530

    Add patch to use nodejs instead of node command
---
 debian/patches/series           |  1 +
 debian/patches/use-nodejs.patch | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a2a471b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-nodejs.patch
diff --git a/debian/patches/use-nodejs.patch b/debian/patches/use-nodejs.patch
new file mode 100644
index 0000000..bc139dc
--- /dev/null
+++ b/debian/patches/use-nodejs.patch
@@ -0,0 +1,10 @@
+Use nodejs instead of node command
+
+--- a/bin/cli.js
++++ b/bin/cli.js
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env node
++#!/usr/bin/env nodejs
+ 
+ var read = require('fs').createReadStream
+ var write = require('fs').createWriteStream

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



More information about the Pkg-javascript-commits mailing list