diff --git a/tools/validate-all-json.sh b/tools/validate-all-json.sh index e1d0b3c6a1..26d01ed227 100755 --- a/tools/validate-all-json.sh +++ b/tools/validate-all-json.sh @@ -3,6 +3,6 @@ REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')") cd "$(dirname "$REAL_PATH")/.." -find . -name '*.json' -print0 | +find . -path ./.tox -prune -name '*.json' -print0 | xargs -0 python tools/validate-json.py || exit 1