mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-05 05:28:00 +02: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:
parent
9d99611723
commit
fe0a9649fc
1 changed files with 2 additions and 2 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue