mirror of
https://github.com/freetype/freetype.git
synced 2026-01-18 00:11:18 +01:00
* builds/toplevel.mk (dist): -wholename -> -name.
POSIX does not request `find` to support '-wholename'. `find ... -wholename '*/.git' -prune -o ...` can be rewritten as `find ... -name '*/.git' -prune -o ...` for POSIX find. Fixes issue #1370.
This commit is contained in:
committed by
suzuki toshiya
parent
9d99611723
commit
fe0a9649fc
@@ -235,14 +235,14 @@ dist:
|
||||
rm -f freetype-$(version).tar.xz
|
||||
rm -f ft$(winversion).zip
|
||||
|
||||
for d in `find . -wholename '*/.git' -prune \
|
||||
for d in `find . -name '.git' -prune \
|
||||
-o -type f \
|
||||
-o -print` ; do \
|
||||
mkdir -p tmp/$$d ; \
|
||||
done ;
|
||||
|
||||
currdir=`pwd` ; \
|
||||
for f in `find . -wholename '*/.git' -prune \
|
||||
for f in `find . -name '.git' -prune \
|
||||
-o -name .gitattributes \
|
||||
-o -name .gitignore \
|
||||
-o -name .gitlab-ci.yml \
|
||||
|
||||
Reference in New Issue
Block a user