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

Commit 139b977f 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: I71d961d885e450641773de3299ce6f1014b8ce92
Test: treehugger
parent 3a8ea872
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -100,8 +100,7 @@ genrule {
        + "RES_DIR=$$(dirname $$(dirname $${INPUTS[0]})) && "
        + "mkdir -p $$RES_DIR/values && "
        + "cp $${INPUTS[1]} $$RES_DIR/values && "
        + "$(location soong_zip) -o $(out) -C $$RES_DIR -D $$RES_DIR && "
        + "cp $(out) ."
        + "$(location soong_zip) -o $(out) -C $$RES_DIR -D $$RES_DIR"
}

android_app {