[Pkg-javascript-commits] [node-jade] 10/10: Fix nodejs invocation.

Jelmer Vernooij jelmer at moszumanska.debian.org
Sun Jul 3 18:02:40 UTC 2016


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

jelmer pushed a commit to branch 0.11-packaging
in repository node-jade.

commit a620860b26314aa646bbdcc3a66b757eb6c7be66
Author: Jelmer Vernooij <jelmer at jelmer.uk>
Date:   Sun Jul 3 17:48:02 2016 +0000

    Fix nodejs invocation.
---
 debian/patches/0001_fix_nodejs_shebang.path | 13 +++++++++++++
 test/command-line.js                        |  2 +-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/debian/patches/0001_fix_nodejs_shebang.path b/debian/patches/0001_fix_nodejs_shebang.path
index f746fd4..b5f03f6 100644
--- a/debian/patches/0001_fix_nodejs_shebang.path
+++ b/debian/patches/0001_fix_nodejs_shebang.path
@@ -15,3 +15,16 @@ Forwarded: not-needed
  
  /**
   * Module dependencies.
+diff --git a/test/command-line.js b/test/command-line.js
+index ba62457..d539b25 100644
+--- a/test/command-line.js
++++ b/test/command-line.js
+@@ -21,7 +21,7 @@ var isIstanbul = process.env.running_under_istanbul;
+ function getRunner() {
+   var jadeExe = __dirname + '/../bin/jade.js';
+ 
+-  if (!isIstanbul) return ['node', jadeExe];
++  if (!isIstanbul) return ['nodejs', jadeExe];
+   else {
+     return ['istanbul', 'cover',
+             '--print',  'none',
diff --git a/test/command-line.js b/test/command-line.js
index ba62457..d539b25 100644
--- a/test/command-line.js
+++ b/test/command-line.js
@@ -21,7 +21,7 @@ var isIstanbul = process.env.running_under_istanbul;
 function getRunner() {
   var jadeExe = __dirname + '/../bin/jade.js';
 
-  if (!isIstanbul) return ['node', jadeExe];
+  if (!isIstanbul) return ['nodejs', jadeExe];
   else {
     return ['istanbul', 'cover',
             '--print',  'none',

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



More information about the Pkg-javascript-commits mailing list