[Pkg-javascript-commits] [node-parents] 29/29: Fix examplexo

Bastien Roucariès rouca at moszumanska.debian.org
Sun Aug 20 13:47:06 UTC 2017


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

rouca pushed a commit to branch master
in repository node-parents.

commit 7f6e6c7d0326aecf8f52108fb97f6b72cff0f0c9
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Fri Aug 18 23:16:39 2017 +0200

    Fix examplexo
---
 debian/changelog          | 7 +++++++
 debian/rules              | 2 +-
 debian/tests/runtestsuite | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6c44a95..bbf03dd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+node-parents (1.0.1-2) unstable; urgency=medium
+
+  * Fix example
+  * Fix autopkg testsuite
+
+ -- Bastien Roucariès <rouca at debian.org>  Fri, 18 Aug 2017 23:16:26 +0200
+
 node-parents (1.0.1-1) unstable; urgency=low
 
   * Initial release (Closes: #854387)
diff --git a/debian/rules b/debian/rules
index add5285..3da5aca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,6 @@ override_dh_installexamples:
 	dh_installexamples
         # patch example
 	find $(CURDIR)/debian/node-parents/usr/share/doc/node-parents/examples/ -name '*.js' -exec \
-                sed -i "s,require\s*[(]\s*'[.][.][^']*'\s*[)],require('node-parents'),g" {} \;
+                sed -i "s,require\s*[(]\s*'[.][.][^']*'\s*[)],require('parents'),g" {} \;
 
 
diff --git a/debian/tests/runtestsuite b/debian/tests/runtestsuite
index 2ac1038..016ec7f 100755
--- a/debian/tests/runtestsuite
+++ b/debian/tests/runtestsuite
@@ -1,7 +1,7 @@
 #!/bin/sh
 set -e
 # notice the / at end in order to load this module
-PACKAGE='subarg'
+PACKAGE='parents'
 SEDCMD="s,require\s*[(]\s*'[.][.]/?([^']*)'\s*[)],require('$PACKAGE/\1'),g"
 
 tmpdir=$(mktemp -d)

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



More information about the Pkg-javascript-commits mailing list