File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed
Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,15 @@ VERSION=`python -c "import json ; print json.loads(open('chromium/manifest.json'
3636
3737echo " Building chrome version" $VERSION
3838
39- if [ -x trivial-validate.py ]; then
40- VALIDATE=" ./trivial-validate.py --ignoredups google --ignoredups facebook"
39+ if [ -f utils/trivial-validate.py ]; then
40+ VALIDATE=" python utils/trivial-validate.py --ignoredups google --ignoredups facebook"
41+ elif [ -x utils/trivial-validate ] ; then
42+ # This case probably never happens
43+ VALIDATE=./utils/trivial-validate
4144else
4245 VALIDATE=./trivial-validate
4346fi
47+
4448if $VALIDATE src/chrome/content/rules >&2
4549then
4650 echo Validation of included rulesets completed. >&2
Original file line number Diff line number Diff line change @@ -26,11 +26,15 @@ if [ -n "$1" ]; then
2626 git reset --hard " $1 "
2727fi
2828
29- if [ -x trivial-validate.py ]; then
30- VALIDATE=" python trivial-validate.py --ignoredups google --ignoredups facebook"
29+ if [ -f utils/trivial-validate.py ]; then
30+ VALIDATE=" python utils/trivial-validate.py --ignoredups google --ignoredups facebook"
31+ elif [ -x utils/trivial-validate ] ; then
32+ # This case probably never happens
33+ VALIDATE=./utils/trivial-validate
3134else
32- VALIDATE=" python trivial-validate"
35+ VALIDATE=./ trivial-validate
3336fi
37+
3438if $VALIDATE src/chrome/content/rules >&2
3539then
3640 echo Validation of included rulesets completed. >&2
File renamed without changes.
You can’t perform that action at this time.
0 commit comments