[Pkg-javascript-commits] [node-command-join] 05/07: patch the nodejs binary name

Paolo Greppi paolog-guest at moszumanska.debian.org
Sat Dec 24 08:54:39 UTC 2016


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

paolog-guest pushed a commit to branch master
in repository node-command-join.

commit 9044dff6d48a1a52cb816624851581957d4abfa2
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Sat Dec 24 08:44:19 2016 +0000

    patch the nodejs binary name
---
 debian/patches/00-nodejs.diff | 17 +++++++++++++++++
 debian/patches/series         |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/00-nodejs.diff b/debian/patches/00-nodejs.diff
new file mode 100644
index 0000000..e5fd248
--- /dev/null
+++ b/debian/patches/00-nodejs.diff
@@ -0,0 +1,17 @@
+Description: Patch the nodejs binary name.
+Forwarded: not-needed
+Author: Paolo Greppi <paolo.greppi at libpf.com>
+
+Index: node-command-join/test/exec.js
+===================================================================
+--- node-command-join.orig/test/exec.js
++++ node-command-join/test/exec.js
+@@ -11,7 +11,7 @@ else if (typeof ChildProcess.execSync ==
+     args = args.slice()
+     args.unshift(__filename)
+     let joined = join(args)
+-    let command = `node ${joined}`
++    let command = `nodejs ${joined}`
+     let out = ChildProcess.execSync(command)
+     // trim to remove extra \n appended by cmd
+     return String(out).trim()
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8390d98
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+00-nodejs.diff

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



More information about the Pkg-javascript-commits mailing list