Closed Bug 1174524 Opened 5 years ago Closed 5 years ago

Make objdir path comparison case-insensitive on Windows

Categories

(Firefox Build System :: General, defect)

defect
Not set

Tracking

(firefox41 fixed)

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: poiru, Assigned: poiru)

Details

Attachments

(1 file)

Using `mk_add_options MOZ_OBJDIR=C:\\mozilla\\obj` triggers the ObjdirMismatchException[0] because config_topobjdir starts with an uppercase 'C' and topobjdir starts with a lowercase 'c'.

[0]: http://hg.mozilla.org/mozilla-central/annotate/c223b8844264/python/mozbuild/mozbuild/base.py#l183
os.path.realpath already implies os.path.normpath, so this just changes
normpath to normcase.
Attachment #8622074 - Flags: review?(mshal)
Attachment #8622074 - Flags: review?(mshal) → review+
https://hg.mozilla.org/mozilla-central/rev/261ed8e1b5e1
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.