File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ needs_update() {
4949}
5050if [ ! -f " $RULESETS_JSON " ] || needs_update ; then
5151 echo " Generating ruleset DB"
52- python2.7 ./utils/make-json.py && bash utils/validate.sh
52+ python2.7 ./utils/make-json.py && bash utils/validate.sh && cp pkg/rulesets.json src/chrome/content/rulesets.json
5353fi
5454
5555sed -e " s/VERSION/$VERSION /g" chromium/updates-master.xml > chromium/updates.xml
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ die() {
8484}
8585
8686bash utils/validate.sh
87+ cp pkg/rulesets.json src/chrome/content/rulesets.json
8788
8889# The name/version of the XPI we're building comes from src/install.rdf
8990XPI_NAME=" pkg/$APP_NAME -` grep em:version src/install.rdf | sed -e ' s/[<>]/ /g' | cut -f3` "
Original file line number Diff line number Diff line change 4747 fi
4848 die " Validation of rulesets against $GRAMMAR failed."
4949fi
50-
51- cp " ../pkg/rulesets.json" ../src/chrome/content/rulesets.json
You can’t perform that action at this time.
0 commit comments