diff options
author | Sergey Shevelev <sshevelev2@bloomberg.net> | 2018-08-04 18:27:08 -0700 |
---|---|---|
committer | Joan Touzet <wohali@users.noreply.github.com> | 2018-08-04 21:59:14 -0400 |
commit | d29011b117a0274e42a908914ee7d3de8f947d80 (patch) | |
tree | 363a158239ffaf46b7da5c29d762f7e9f64694ff | |
parent | 17aec1f3339f864eb08869d6235753f0fdd28259 (diff) | |
download | couchdb-d29011b117a0274e42a908914ee7d3de8f947d80.tar.gz |
Fixed use of find ... -printf "%f" on Mac OS by replacing it with -exec basename
Fixes issue #1028
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |