Package: node-lex-parser / 0.1.4-5

use-nodejs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
debian has nodejs command

Index: node-lex-parser/Makefile
===================================================================
--- node-lex-parser.orig/Makefile
+++ node-lex-parser/Makefile
@@ -5,11 +5,11 @@ install:
 #	npm install
 
 build:
-	node ./node_modules/.bin/jison lex.y lex.l
+	nodejs ./node_modules/.bin/jison lex.y lex.l
 	mv lex.js lex-parser.js
 
 test:
-	node tests/all-tests.js
+	nodejs tests/all-tests.js