Closed
Bug 452851
Opened 17 years ago
Closed 17 years ago
Icon files have problems being copied when source code is read-only
Categories
(Other Applications :: DOM Inspector, defect)
Other Applications
DOM Inspector
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: beckley, Assigned: beckley)
References
Details
Attachments
(1 file, 1 obsolete file)
|
2.30 KB,
patch
|
beckley
:
review+
beckley
:
superreview+
|
Details | Diff | Splinter Review |
Some of the icons installed during a build use the "cp" command. This causes a problem in setups where the source files are marked as read-only (our source control tool does that) and cp leaves the files as read-only. Then a subsequent build fails because the read-only files can't be copied over.
Included is a patch to the makefile to solve this problem, which uses the "-f" option to force the copy.
Attachment #336102 -
Flags: superreview?(neil)
Attachment #336102 -
Flags: review?(bugzilla)
Updated•17 years ago
|
Attachment #336102 -
Flags: review?(bugzilla) → review?(sdwilsh)
Comment 1•17 years ago
|
||
Comment on attachment 336102 [details] [diff] [review]
Updated makefile
sdwilsh is better to review this.
Comment 2•17 years ago
|
||
Comment on attachment 336102 [details] [diff] [review]
Updated makefile
> ifdef MOZ_XUL_APP
This is now always true, so remove this instead of patching the else part.
>+ cp -f $(srcdir)/resources/content/res/winInspectorMainOS2.ico $(FINAL_TARGET)/platform/OS2/chrome/icons/default/winInspectorMain.ico
Stupid rename :-( Maybe we can hg move all these icons into their own dirs?
Attachment #336102 -
Flags: superreview?(neil) → superreview+
Updated•17 years ago
|
Attachment #336102 -
Flags: review?(sdwilsh) → review+
Comment 3•17 years ago
|
||
Comment on attachment 336102 [details] [diff] [review]
Updated makefile
> >+ cp -f $(srcdir)/resources/content/res/winInspectorMainOS2.ico $(FINAL_TARGET)/platform/OS2/chrome/icons/default/winInspectorMain.ico
> Stupid rename :-( Maybe we can hg move all these icons into their own dirs?
r=sdwilsh with this change
Comment 4•17 years ago
|
||
(In reply to comment #2)
> (From update of attachment 336102 [details] [diff] [review])
> > ifdef MOZ_XUL_APP
> This is now always true, so remove this instead of patching the else part.
Note: I've just checked in a patch from bug 451909 which has removed this ifdef
| Assignee | ||
Comment 5•17 years ago
|
||
Moved the icons files in to sub-directories based on OS. Makefile was updated for the new location, and can now use $(INSTALL) for the OS2 icon.
Continuing r=sdwilsh, sr=neil.
Assignee: nobody → beckley
Attachment #336102 -
Attachment is obsolete: true
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #336612 -
Flags: superreview+
Attachment #336612 -
Flags: review+
| Assignee | ||
Updated•17 years ago
|
Keywords: checkin-needed
Comment 6•17 years ago
|
||
Checked in, changeset id: 659:20e2c7875806
Comment 7•17 years ago
|
||
I applied the patch incorrectly and missed moving the files first time round, this is now fixed with changeset id: 660:0c6184ed119c
You need to log in
before you can comment on or make changes to this bug.
Description
•