fix make tab_check issues, change tab_check more portable
This commit is contained in:
1 parent
4d83621ada
commit
0957b9ba6a
2 files changed
+2
-2
No files matched your search
@@ -91,7 +91,7 @@ Usage:
|
|||||||
|
|
||||||
``` <!---sh-->
|
``` <!---sh-->
|
||||||
./buzzard [filename [escape-char \
|
./buzzard [filename [escape-char \
|
||||||
[start-x start-yNNN
|
[start-x start-yNNN
|
||||||
```
|
```
|
||||||
|
|
||||||
Filename is the name of the file containing the maze. This
|
Filename is the name of the file containing the maze. This
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ tab_check:
|
|||||||
@echo '=-=-=-=-= IOCCC begin make $@ =-=-=-=-='
|
@echo '=-=-=-=-= IOCCC begin make $@ =-=-=-=-='
|
||||||
@TAB_LIST="$$(${FIND} * \( -name NOTES -o -name tmp -o -name markdown.md \) -prune -o \
|
@TAB_LIST="$$(${FIND} * \( -name NOTES -o -name tmp -o -name markdown.md \) -prune -o \
|
||||||
-type f -name '*.md' -print0 | \
|
-type f -name '*.md' -print0 | \
|
||||||
${XARGS} -0 ${GREP} -E -l '\t')"; \
|
${XARGS} -0 ${GREP} -E -l ' ')"; \
|
||||||
if [[ -n $$TAB_LIST ]]; then \
|
if [[ -n $$TAB_LIST ]]; then \
|
||||||
echo "$@: ERROR: ASCII tab found in markdown file(s)" 1>&2 ; \
|
echo "$@: ERROR: ASCII tab found in markdown file(s)" 1>&2 ; \
|
||||||
echo "$0: Warning: list of offending markdown file(s) starts below" 1>&2 ; \
|
echo "$0: Warning: list of offending markdown file(s) starts below" 1>&2 ; \
|
||||||
|
|||||||
Reference in new issue
Block a user