This is an automated email from the ASF dual-hosted git repository.
wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/master by this push:
new d29011b Fixed use of find ... -printf "%f" on Mac OS by replacing it
with -exec basename
d29011b is described below
commit d29011b117a0274e42a908914ee7d3de8f947d80
Author: Sergey Shevelev <[email protected]>
AuthorDate: Sat Aug 4 18:27:08 2018 -0700
Fixed use of find ... -printf "%f" on Mac OS by replacing it with -exec
basename
Fixes issue #1028
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 304b48e..0ab7b4e 100644
--- a/Makefile
+++ b/Makefile
@@ -254,7 +254,7 @@ list-eunit-apps:
.PHONY: list-eunit-suites
# target: list-eunit-suites - List EUnit target test suites
list-eunit-suites:
- @find ./src/ -type f -name *_test.erl -o -name *_tests.erl -printf
"%f\n" \
+ @find ./src/ -type f -name *_test.erl -o -name *_tests.erl -exec
basename {} \; \
| cut -d '.' -f -1 \
| sort
@@ -262,7 +262,7 @@ list-eunit-suites:
.PHONY: list-js-suites
# target: list-js-suites - List JavaScript test suites
list-js-suites:
- @find ./test/javascript/tests/ -type f -name *.js -printf "%f\n" \
+ @find ./test/javascript/tests/ -type f -name *.js -exec basename {} \; \
| cut -d '.' -f -1 \
| sort