[Pkg-javascript-commits] [node-cli-cursor] 01/01: patch the name of the nodejs binary

Paolo Greppi paolog-guest at moszumanska.debian.org
Fri Dec 23 23:32:14 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-cli-cursor.

commit 2aea3a516df8dffea20e132cbdb2b20d12d305d5
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Fri Dec 23 23:31:22 2016 +0000

    patch the name of the nodejs binary
---
 debian/patches/01-nodejs.diff | 15 +++++++++++++++
 debian/patches/series         |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/01-nodejs.diff b/debian/patches/01-nodejs.diff
new file mode 100644
index 0000000..d41ee2f
--- /dev/null
+++ b/debian/patches/01-nodejs.diff
@@ -0,0 +1,15 @@
+Description: Patch the name of the nodejs binary.
+Forwarded: not-needed
+Author: Paolo Greppi <paolo.greppi at libpf.com>
+
+Index: node-cli-cursor/test.js
+===================================================================
+--- node-cli-cursor.orig/test.js
++++ node-cli-cursor/test.js
+@@ -54,5 +54,5 @@ test('toggle force 3', function() {
+ 
+ // used to fail, see sindresorhus/log-update#2
+ test('require', function() {
+-	assert.equal(childProcess.execSync('node index.js', {encoding: 'utf8'}), '');
++	assert.equal(childProcess.execSync('nodejs index.js', {encoding: 'utf8'}), '');
+ });
diff --git a/debian/patches/series b/debian/patches/series
index c508ffd..1d23e14 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 00-mocha.diff
+01-nodejs.diff

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



More information about the Pkg-javascript-commits mailing list