improve genfilelist

Improved genfilelist to not record .DS_Store files.
This commit is contained in:
Landon Curt Noll committed 2024-03-12 12:39:43 -07:00
1 parent 7026bfa9ac
commit 9f36317fc6
28 files changed
+56 -55

No files matched your search

+2 -1
View File
@@ -300,7 +300,8 @@ genfilelist:
@echo '=-=-=-=-= IOCCC begin make $@ =-=-=-=-='
@-for i in ${YEARS}; do \
rm -f "$$i/.genfilelist.tmp"; \
find "$$i" -mindepth 1 -maxdepth 1 -type f ! -path "$$i/.genfilelist.tmp" | sort -d -u > "$$i/.genfilelist.tmp"; \
find "$$i" -mindepth 1 -maxdepth 1 -type f ! -path "$$i/.genfilelist.tmp" ! -name .DS_Store | \
sort -d -u > "$$i/.genfilelist.tmp"; \
if ${CMP} -s "$$i/.genfilelist.tmp" "$$i/.filelist"; then \
${RM} -f "$$i/.genfilelist.tmp"; \
echo "$$i/.filelist already up to date"; \