Closed Bug 737849 Opened 12 years ago Closed 11 years ago

config/Preprocessor.py: add support for an --output argument

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla22

People

(Reporter: joey, Assigned: glandium)

References

Details

Attachments

(1 file)

mobile/xul/installer/Makefile.in
================================
echo $src > $f
rm -f $f
config/Preprocessor.py $src > $f

If config/Preprocessor.py were able to support a --output command line option that will exit with non-zero status when a file cannot be created.  That may remove the need for a logic wrapper to test if a file can be written before calling Preprocessor.py.  This logic was likely used to distinguish script failures from I/O failures.
See Also: → 737839
Assignee: nobody → mh+mozilla
Blocks: 847411
Attachment #720690 - Flags: review?(ted) → review+
https://hg.mozilla.org/mozilla-central/rev/434c20e21464
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Blocks: 921751
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: