Closed Bug 999413 Opened 10 years ago Closed 10 years ago

clean useless files when execute make

Categories

(Firefox OS Graveyard :: Gaia::Build, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gduan, Assigned: gduan)

Details

Attachments

(1 file)

follow-up bug of bug 998954 
https://bugzilla.mozilla.org/show_bug.cgi?id=998954#c13

we should make sure user has same files as github before execute |make|.
Hi,

Working in bug 995900 I found that build_stage folders are not cleaned properly since bug 998954 landed. It seems that https://github.com/acperez/gaia/blob/master/Makefile#L528 is not working, the 'rm' command has no effect.
You should remove double quote. Use

rm -rf $(STAGE_DIR)/$$APP/*;

instead of

rm -rf "$(STAGE_DIR)/$$APP/*";
Attached file PR to master
Thanks, Albert!

Hi Tim,
could you help me to review this patch?
Attachment #8413603 - Flags: review?(timdream)
Comment on attachment 8413603 [details] [review]
PR to master

Normally you need double quote to make sure shell script work with path with space, but obviously that should be removed if it doesn't work at all.
Attachment #8413603 - Flags: review?(timdream) → review+
Thanks Tim,
merge to master
https://github.com/mozilla-b2g/gaia/commit/3c00a8c4a775e124186e0d48ee624d4dc25b14e0
Assignee: nobody → gduan
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: