From 0ca7b3420da4da62eae4ebc2d247d36ecf9d20a4 Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Sun, 19 May 2013 19:54:32 +0530 Subject: dopush: push files to /data too Change-Id: I85e24575a04955ae17b978f038edc46e1e6bfa2c --- envsetup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/envsetup.sh b/envsetup.sh index 07c481d..3c26036 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -1810,8 +1810,9 @@ function dopush() # Get target file name (i.e. system/bin/adb) TARGET=$(echo $FILE | sed "s#$OUT/##") - # Don't send files that are not in /system. - if ! echo $TARGET | egrep '^system\/' > /dev/null ; then + # Don't send files that are not under /system or /data + if [ ! "echo $TARGET | egrep '^system\/' > /dev/null" -o \ + "echo $TARGET | egrep '^data\/' > /dev/null" ] ; then continue else case $TARGET in -- cgit v1.1