Skip to content
Snippets Groups Projects
Commit 761610f2 authored by Taras Lazariv's avatar Taras Lazariv
Browse files

Merge branch 'fix-check-if-file-exists-in-grep-forbidden-words.sh' into 'preview'

Check if file exists in grep-forbidden-words.sh.

See merge request !277
parents 85883ecf 2fb390a0
No related branches found
No related tags found
3 merge requests!322Merge preview into main,!319Merge preview into main,!277Check if file exists in grep-forbidden-words.sh.
......@@ -74,7 +74,7 @@ fi
cnt=0
for f in $files; do
if [ "$f" != doc.zih.tu-dresden.de/README.md -a "${f: -3}" == ".md" ]; then
if [ "$f" != doc.zih.tu-dresden.de/README.md -a "${f: -3}" == ".md" -a -f "$f" ]; then
echo "Check wording in file $f"
while IFS=$'\t' read -r flags pattern exceptionPatterns; do
while IFS=$'\t' read -r -a exceptionPatternsArray; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment