File: change_paths.patch

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

--- a/scripts/build.js
+++ b/scripts/build.js
@@ -5,7 +5,7 @@
 
 const parsePropertyAliases = function() {
 	const map = new Map();
-	const source = fs.readFileSync('./data/PropertyAliases.txt', 'utf8');
+	const source = fs.readFileSync('../data/PropertyAliases.txt', 'utf8');
 	const lines = source.split('\n');
 	lines.forEach(function(line) {
 		if (!line || /^#/.test(line)) {