vendor: make dopush recognize files on more partitions
Change-Id: Ied1a243730df1d683fd237f8ea7bd9b1742db105
Signed-off-by: Roman Birg <romanbirg@gmail.com>
diff --git a/build/envsetup.sh b/build/envsetup.sh
index c22b9d6..1cad41a 100644
--- a/build/envsetup.sh
+++ b/build/envsetup.sh
@@ -887,9 +887,9 @@
stop_n_start=false
for TARGET in $(echo $LOC | tr " " "\n" | sed "s#.*${RELOUT}##" | sort | uniq); do
- # Make sure file is in $OUT/system or $OUT/data
+ # Make sure file is in $OUT/system, $OUT/data, $OUT/odm, $OUT/oem, $OUT/product, $OUT/product_services or $OUT/vendor
case $TARGET in
- /system/*|/data/*)
+ /system/*|/data/*|/odm/*|/oem/*|/product/*|/product_services/*|/vendor/*)
# Get out file from target (i.e. /system/bin/adb)
FILE=$OUT$TARGET
;;