improve genfilelist
Improved genfilelist to not record .DS_Store files.
This commit is contained in:
1 parent
7026bfa9ac
commit
9f36317fc6
28 files changed
+56
-55
No files matched your search
@@ -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"; \
|
||||
|
||||
Reference in new issue
Block a user