[Pkg-javascript-commits] [node-global-modules] 01/01: fix global module path

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Oct 31 14:17:38 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository node-global-modules.

commit aaaa113ba0bb444d93028da8552b9f912c57107b
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Mon Oct 31 19:28:44 2016 +0530

    fix global module path
---
 debian/patches/fix-global-module-path.patch | 11 +++++++++++
 debian/patches/series                       |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/fix-global-module-path.patch b/debian/patches/fix-global-module-path.patch
new file mode 100644
index 0000000..b2b5389
--- /dev/null
+++ b/debian/patches/fix-global-module-path.patch
@@ -0,0 +1,11 @@
+Index: node-global-modules/index.js
+===================================================================
+--- node-global-modules.orig/index.js
++++ node-global-modules/index.js
+@@ -14,5 +14,5 @@ var isWindows = require('is-windows');
+ if (isWindows()) {
+   module.exports = path.resolve(prefix, 'node_modules');
+ } else {
+-  module.exports = path.resolve(prefix, 'lib/node_modules');
++  module.exports = path.resolve(prefix, 'lib/nodejs');
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2d54b84
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-global-module-path.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-global-modules.git



More information about the Pkg-javascript-commits mailing list