[Pkg-javascript-commits] [node-tap] 14/19: Refresh rename patch

Jérémy Lal kapouer at moszumanska.debian.org
Sat Nov 12 01:03:57 UTC 2016


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

kapouer pushed a commit to branch master
in repository node-tap.

commit 7739cd0dd9a2d668c0b2907486e89f866bf2074a
Author: Jérémy Lal <kapouer at melix.org>
Date:   Fri Nov 11 19:06:42 2016 +0100

    Refresh rename patch
---
 debian/patches/nodejs_rename.patch | 26 +++++++++-----------------
 1 file changed, 9 insertions(+), 17 deletions(-)

diff --git a/debian/patches/nodejs_rename.patch b/debian/patches/nodejs_rename.patch
index d3fd564..ccb62fd 100644
--- a/debian/patches/nodejs_rename.patch
+++ b/debian/patches/nodejs_rename.patch
@@ -1,26 +1,18 @@
 Description: rename node to nodejs in shebang
 Forwarded: not-needed
---- a/bin/tap.js
-+++ b/bin/tap.js
+--- a/bin/mochatap.js
++++ b/bin/mochatap.js
 @@ -1,4 +1,4 @@
 -#!/usr/bin/env node
 +#!/usr/bin/env nodejs
+ var tap = require('../lib/root.js')
+ var args = process.argv.slice(2)
  
- var argv = process.argv.slice(2)
-   , path = require("path")
---- a/bin/tap-http.js
-+++ b/bin/tap-http.js
+--- a/bin/run.js
++++ b/bin/run.js
 @@ -1,4 +1,4 @@
 -#!/usr/bin/env node
 +#!/usr/bin/env nodejs
- 
- // just an example, really
- // Run with `node tap-http.js path/to/tests/`
---- a/bin/tap-reader.js
-+++ b/bin/tap-reader.js
-@@ -1,4 +1,4 @@
--#!/usr/bin/env node
-+#!/usr/bin/env nodejs
- 
- // read a tap stream from stdin.
- 
+ var node = process.execPath
+ var fs = require('fs')
+ var spawn = require('child_process').spawn

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



More information about the Pkg-javascript-commits mailing list