[Pkg-javascript-commits] [node-bluebird] 01/01: Committing an old update to the patch - not sure if it worked

Ross Gammon ross-guest at moszumanska.debian.org
Sun Oct 1 15:34:19 UTC 2017


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

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

commit a9951791d548b141ed628affd88488b31f94f704
Author: Ross Gammon <rosco2 at ubuntu.com>
Date:   Sun Oct 1 17:33:10 2017 +0200

    Committing an old update to the patch - not sure if it worked
---
 debian/patches/fix_root_dir.patch | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/debian/patches/fix_root_dir.patch b/debian/patches/fix_root_dir.patch
index 5b44ab0..d67ceb2 100644
--- a/debian/patches/fix_root_dir.patch
+++ b/debian/patches/fix_root_dir.patch
@@ -11,14 +11,12 @@ Forwarded: not-needed
 
 --- node-bluebird.orig/tools/build.js
 +++ node-bluebird/tools/build.js
-@@ -254,8 +254,8 @@
+@@ -254,7 +254,7 @@
  
  var root = process.cwd();
  // Since rm -rf is called, better be sure...
--if (path.basename(root).toLowerCase() !== "bluebird") {
--    throw new Error("cwd must be se to bluebird project root. Cwd is currently\n\n" +
+-if (path.basename(root).toLowerCase().indexOf("bluebird") !== 0) {
 +if (path.basename(root).toLowerCase().substring(0, 13) !== "node-bluebird") {
-+    throw new Error("cwd must be set to bluebird project root. Cwd is currently\n\n" +
+     throw new Error("cwd must be set to bluebird project root. cwd is currently\n\n" +
          "         " + process.cwd() + "\n");
  }
- var dirs = {

-- 
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