[Pkg-javascript-commits] [node-js-yaml] 10/15: Patch binary node > nodejs

Ross Gammon ross-guest at moszumanska.debian.org
Sun Sep 4 05:56:44 UTC 2016


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

ross-guest pushed a commit to branch master
in repository node-js-yaml.

commit dae5189649371277776db1bdccd09d6acca8491e
Author: Ross Gammon <rossgammon at mail.dk>
Date:   Sat Sep 3 22:04:46 2016 +0200

    Patch binary node > nodejs
---
 debian/patches/binary_shebang.patch | 14 ++++++++++++++
 debian/patches/series               |  1 +
 2 files changed, 15 insertions(+)

diff --git a/debian/patches/binary_shebang.patch b/debian/patches/binary_shebang.patch
new file mode 100644
index 0000000..e38bcb0
--- /dev/null
+++ b/debian/patches/binary_shebang.patch
@@ -0,0 +1,14 @@
+Description: Fix nodejs shebang
+ The node executable is called nodejs in Debian.
+Author: Ross Gammon <rosco2 at ubuntu.com>
+Forwarded: not-needed
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- node-js-yaml.orig/bin/js-yaml.js
++++ node-js-yaml/bin/js-yaml.js
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env node
++#!/usr/bin/env nodejs
+ 
+ 
+ 'use strict';
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c31080d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+binary_shebang.patch

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



More information about the Pkg-javascript-commits mailing list