fix make genfilelist to avoid vim swp files
This commit is contained in:
1 parent
c76ef41ce0
commit
9745a83eed
1 file changed
+2
-1
@@ -316,7 +316,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" ! -name .DS_Store | \
|
||||
${FIND} "$$i" -mindepth 1 -maxdepth 1 -type f ! -path "$$i/.genfilelist.tmp" \
|
||||
! -name .DS_Store ! -name '*.swp' | \
|
||||
${SORT} -f -d -u > "$$i/.genfilelist.tmp"; \
|
||||
if ${CMP} -s "$$i/.genfilelist.tmp" "$$i/.filelist"; then \
|
||||
${RM} -f "$$i/.genfilelist.tmp"; \
|
||||
|
||||
Reference in new issue
Block a user