Fix idiotic find(1) argument flaw.

Use `bump' instead of `revbump'.
This commit is contained in:
Casper Ti. Vector 2012-05-18 10:20:02 +08:00
parent f0e2b82261
commit b97cd40f5c
3 changed files with 6 additions and 4 deletions

View File

@ -14,6 +14,6 @@ dist-clean:
qa:
utils/qa
revbump:
utils/revbump MAJORVER=$(MAJORVER) MINORVER=$(MINORVER)
bump:
utils/bump MAJORVER=$(MAJORVER) MINORVER=$(MINORVER)

View File

@ -12,7 +12,8 @@ enc:
@echo '======================================================================'
@echo '$@: check file encodings'
@echo '======================================================================'
find . $(FIND_GBK) -type f -exec file '{}' '+' | grep -v GB
find . -not '(' $(FIND_VCS) ')' $(FIND_GBK) \
-type f -exec file '{}' '+' | grep -v GB
find . -not '(' $(FIND_VCS) ')' -not '(' $(FIND_GBK) ')' \
-type f -exec file '{}' '+' | grep GB
@ -20,7 +21,8 @@ lt:
@echo '======================================================================'
@echo '$@: check line terminators'
@echo '======================================================================'
find . $(FIND_CRLF) -type f -exec file '{}' '+' | grep -v CRLF
find . -not '(' $(FIND_VCS) ')' $(FIND_CRLF) \
-type f -exec file '{}' '+' | grep -v CRLF
find . -not '(' $(FIND_VCS) ')' -not '(' $(FIND_CRLF) ')' \
-type f -exec file '{}' '+' | grep CRLF