Skip to content

Commit

Permalink
[spell check] try do not use thread affinity in silver searcher to av…
Browse files Browse the repository at this point in the history
…oid errors on Travis
  • Loading branch information
3nids committed May 18, 2017
1 parent b8d369a commit 9accd4b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/spell_check/check_spelling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
# optional argument: list of files to be checked

# temporarly display all commands to debug issues in TRAVIS
if [[ $TRAVIS =~ true ]]; then
set -x
fi
# if [[ $TRAVIS =~ true ]]; then
# set -x
# fi

DIR=$(git rev-parse --show-toplevel)/scripts/spell_check

Expand Down Expand Up @@ -279,8 +279,8 @@ for I in $(seq -f '%02g' 0 $(($SPLIT-1)) ) ; do
fi
fi
done 3< <(
unbuffer ag --all-text --nopager --color-match "30;43" --numbers --nomultiline --ignore-case -p $AGIGNORE "${IGNORECASE}" $INPUTFILES
unbuffer ag --all-text --nopager --color-match "30;43" --numbers --nomultiline --case-sensitive -p $AGIGNORE "${CASEMATCH}" $INPUTFILES
unbuffer ag --noaffinity --all-text --nopager --color-match "30;43" --numbers --nomultiline --ignore-case -p $AGIGNORE "${IGNORECASE}" $INPUTFILES
unbuffer ag --noaffinity --all-text --nopager --color-match "30;43" --numbers --nomultiline --case-sensitive -p $AGIGNORE "${CASEMATCH}" $INPUTFILES
)

rm -f $SPELLFILE
Expand Down

0 comments on commit 9accd4b

Please sign in to comment.