Skip to content
Permalink
Browse files
[spell check] try do not use thread affinity in silver searcher to av…
…oid errors on Travis
  • Loading branch information
3nids committed May 18, 2017
1 parent b8d369a commit 9accd4b814afdb699729cf3869ac21342ecf74da
Showing with 5 additions and 5 deletions.
  1. +5 −5 scripts/spell_check/check_spelling.sh
@@ -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

@@ -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

0 comments on commit 9accd4b

Please sign in to comment.