File: fix-makefile.patch

package info (click to toggle)
node-package 1.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 132 kB
  • sloc: javascript: 72; makefile: 11
file content (20 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Index: node-package-1.0.1/Makefile
===================================================================
--- node-package-1.0.1.orig/Makefile
+++ node-package-1.0.1/Makefile
@@ -1,7 +1,7 @@
 TESTS = $(shell find test -iname \*.test.js)
 
 test:
-	@NODE_ENV=test ./node_modules/.bin/mocha \
+	@NODE_ENV=test /usr/bin/mocha \
 	--require should \
 	--reporter spec \
 	$(TESTS)
@@ -9,4 +9,4 @@ test:
 clean:
 	rm -f examples/tmp/*
 
-.PHONY: test clean
\ No newline at end of file
+.PHONY: test clean