[Pkg-javascript-commits] [node-bluebird] 01/02: Create patch to set correct root directory for test/build.js

Ross Gammon ross-guest at moszumanska.debian.org
Fri Mar 6 21:49:09 UTC 2015


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

ross-guest pushed a commit to branch master
in repository node-bluebird.

commit fab018e652f10088a462a1964b6e66ba67369e49
Author: Ross Gammon <rossgammon at mail.dk>
Date:   Fri Mar 6 22:43:40 2015 +0100

    Create patch to set correct root directory for test/build.js
    
    Debian package name is slightly different (bluebird & node-bluebird)
---
 debian/patches/fix_root_dir.patch | 15 +++++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/fix_root_dir.patch b/debian/patches/fix_root_dir.patch
new file mode 100644
index 0000000..05ce003
--- /dev/null
+++ b/debian/patches/fix_root_dir.patch
@@ -0,0 +1,15 @@
+Description: Set the root directory to node-bluebird for test/build.js
+Author: Ross Gammon <rossgammon at mail.dk>
+Forwarded: not-needed
+
+--- node-bluebird.orig/tools/build.js
++++ node-bluebird/tools/build.js
+@@ -290,7 +290,7 @@
+ 
+ var root = process.cwd();
+ // Since rm -rf is called, better be sure...
+-if (path.basename(root).toLowerCase() !== "bluebird") {
++if (path.basename(root).toLowerCase() !== "node-bluebird") {
+     throw new Error("cwd must be se to bluebird project root. Cwd is currently\n\n" +
+         "         " + process.cwd() + "\n");
+ }
diff --git a/debian/patches/series b/debian/patches/series
index 81a5e8e..e21e437 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 nodejs.patch
+fix_root_dir.patch

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



More information about the Pkg-javascript-commits mailing list