File: change_paths.patch

package info (click to toggle)
node-unicode-property-value-aliases 3.4.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 160 kB
  • sloc: makefile: 9; sh: 2
file content (15 lines) | stat: -rw-r--r-- 513 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: change paths to cope with Debian packaging
Author: Julien Puydt
Forwarded: no

--- a/scripts/build.js
+++ b/scripts/build.js
@@ -6,7 +6,7 @@
 
 const parsePropertyValueAliases = function() {
 	const propertyValueAliasesPerProperty = new Map();
-	const source = fs.readFileSync('./data/PropertyValueAliases.txt', 'utf8');
+	const source = fs.readFileSync('../data/PropertyValueAliases.txt', 'utf8');
 	const lines = source.split('\n');
 	for (const line of lines) {
 		if (!line || /^#/.test(line)) {