1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
Description: Use debian/getopt.js
I don't really want to get into the packaging of node-getopt, but I need this
to work, so let's hack a bit, it's just at build time anyways.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: not-needed
Last-Update: 2022-11-04
diff --git a/po/po2js b/po/po2js
index fc6e88103b32..856f213efb7d 100755
--- a/po/po2js
+++ b/po/po2js
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-const getopt = require('node-getopt');
+const getopt = require('../debian/getopt.js');
const fs = require('fs');
const po2json = require("po2json");
diff --git a/po/xgettext-html b/po/xgettext-html
index bb30d3bcd9e0..33716f3d76f4 100755
--- a/po/xgettext-html
+++ b/po/xgettext-html
@@ -5,7 +5,7 @@
* Licensed under MPL 2.0 (see LICENSE.txt)
*/
-const getopt = require('node-getopt');
+const getopt = require('../debian/getopt.js');
const jsdom = require("jsdom");
const fs = require("fs");
|