Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions utils/merge-rulesets.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,5 @@ def normalize(f):
outfile.write(json.dumps(library))
outfile.close()

# We make default.rulesets at build time,
# but it shouldn't have a variable timestamp
subprocess.call(["touch", "-r", "src/install.rdf", ofn])

# Everything is okay.
print(" * Everything is Okay.")
print(" * Everything is okay.")
3 changes: 3 additions & 0 deletions utils/merge-rulesets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
python2.7 ./utils/merge-rulesets.py

RULESETS=chrome/content/rules/default.rulesets

# We make default.rulesets at build time, but it shouldn't have a variable timestamp.
touch -r src/install.rdf src/$RULESETS

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see how this is a substantive improvement. Care to explain?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved this out of the Python script into the shell script.