mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-26 15:29:07 +00:00
maint: avoid sc_gitignore_missing failure
* .gitignore: Add the soon to be generated lib/fts_.h * cfg.mk (sc_gitignore_missing): Special case the mapping of fts.in.h to fts_.h. Fixes https://bugs.gnu.org/78398
This commit is contained in:
parent
a11c7dcaaf
commit
bd8be6b99e
1
.gitignore
vendored
1
.gitignore
vendored
@ -69,6 +69,7 @@
|
||||
/lib/fcntl.h
|
||||
/lib/float.h
|
||||
/lib/fnmatch.h
|
||||
/lib/fts_.h
|
||||
/lib/getopt-cdefs.h
|
||||
/lib/getopt.h
|
||||
/lib/glthread
|
||||
|
||||
3
cfg.mk
3
cfg.mk
@ -812,7 +812,8 @@ sc_fs-magic-compare:
|
||||
sc_gitignore_missing:
|
||||
@{ sed -n '/^\/lib\/.*\.h$$/{p;p}' $(srcdir)/.gitignore; \
|
||||
find lib -name '*.in*' ! -name '*~' ! -name 'sys_*' | \
|
||||
sed 's|^|/|; s|_\(.*in\.h\)|/\1|; s/\.in//'; } | \
|
||||
sed 's|^|/|; s|_\(.*in\.h\)|/\1|; s/\.in//' | \
|
||||
sed 's|/fts\.h$$|/fts_.h|'; } | \
|
||||
sort | uniq -u | grep . && { echo '$(ME): Add above' \
|
||||
'entries to .gitignore' >&2; exit 1; } || :
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user