setup-makefiles: Remove loop for sed
* Use find's built in -exec instead Change-Id: I5d75e3f7a9c0746f387a0bc330d9ebccb33cd9e8 Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
This commit is contained in:
parent
c91176ce50
commit
c2f5b4707d
@ -72,4 +72,4 @@ printf '\n%s\n' "\$(call inherit-product, vendor/gapps/common/common-vendor.mk)"
|
||||
# We are done with target
|
||||
write_footers
|
||||
|
||||
for f in `find "$MY_DIR" -type f -name Android.mk`; do sed -i s/TARGET_DEVICE/TARGET_ARCH/g $f; done
|
||||
find "$MY_DIR" -type f -name Android.mk -exec sed -i 's/TARGET_DEVICE/TARGET_ARCH/g' {} \;
|
||||
|
Loading…
Reference in New Issue
Block a user