[Pkg-javascript-commits] [node-errno] 03/03: exclude .pc from find

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sun May 7 05:18:44 UTC 2017


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

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

commit b8d171164146ac5539ddc4999d0eb1ba80cd9549
Author: Pirate Praveen <praveen at debian.org>
Date:   Sun May 7 10:46:13 2017 +0530

    exclude .pc from find
---
 debian/tests/runtestsuite | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/tests/runtestsuite b/debian/tests/runtestsuite
index 6526b8a..827e3ac 100644
--- a/debian/tests/runtestsuite
+++ b/debian/tests/runtestsuite
@@ -9,7 +9,7 @@ tmpdir=$(mktemp -d)
 trap 'rm -rf "$tmpdir"' EXIT INT TERM HUP
 
 cp test.js $tmpdir
-find . -name 'test.js' -print0 | \
+find -name 'test.js' -not -path "./.pc/*" -print0 | \
     xargs -0 -n1  \
 	  sh -c 'set -e; echo "Create: $3"; sed -E "$1" < "$3" > "$2/$3"' sedtape "$SEDCMD" "$tmpdir"
 # avoid false that does not work outside build dir

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



More information about the Pkg-javascript-commits mailing list