File: nodejs-shebang.patch

package info (click to toggle)
flashproxy 1.7-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 936 kB
  • ctags: 876
  • sloc: python: 3,708; sh: 823; makefile: 246; lisp: 15
file content (22 lines) | stat: -rw-r--r-- 642 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Fix nodejs shebang line to Debian canonical path
 Debian mandates /usr/bin/nodejs in order to resolve a naming conflict
Author: Ximin Luo <infinity0@pwned.gg>
Forwarded: not-needed
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/proxy/modules/nodejs/main.js
+++ b/proxy/modules/nodejs/main.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
 
 var fs = require("fs");
 var path = require("path");
--- a/proxy/flashproxy-test.js
+++ b/proxy/flashproxy-test.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
 
 /* To run this test program, install nodejs (apt-get install nodejs). */