Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 928f3136 authored by Colin Cross's avatar Colin Cross
Browse files

Remove "cp $(out) ." from genrule

$(out) is the correct location for the output, and "." is the root of the source tree.  Remove "cp $(out) ." to avoid writing to the source tree.

Bug: 185211826
Change-Id: Ie936d8b396e044f8ef4307df53232bea6cc770d6
Test: treehugger
parent 3f2c7765
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -43,8 +43,7 @@ genrule {
    out: ["ThemePicker_res.zip"],
    cmd: "INPUTS=($(in)) && "
        + "RES_DIR=$$(dirname $$(dirname $${INPUTS[0]})) && "
        + "$(location soong_zip) -o $(out) -C $$RES_DIR -D $$RES_DIR && "
        + "cp $(out) ."
        + "$(location soong_zip) -o $(out) -C $$RES_DIR -D $$RES_DIR"
}

//