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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: beckley, Assigned: beckley)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Updated makefile (obsolete) — 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)
Attachment #336102 - Flags: review?(bugzilla) → review?(sdwilsh)
Comment on attachment 336102 [details] [diff] [review] Updated makefile sdwilsh is better to review this.
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+
Attachment #336102 - Flags: review?(sdwilsh) → review+
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
(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
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+
Keywords: checkin-needed
Checked in, changeset id: 659:20e2c7875806
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
I applied the patch incorrectly and missed moving the files first time round, this is now fixed with changeset id: 660:0c6184ed119c
Blocks: 420105
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: