Commit c386595e authored by Sam Mortimer's avatar Sam Mortimer
Browse files

vendor/lineage: Fix dopush

* $OUT is now absolute so strip $ANDROID_BUILD_TOP before
  looking for targets to adb push.

Change-Id: If00e58a98484b7b6b2ee6e4ecd00fc3031e1f47b
parent 27180809
......@@ -883,8 +883,10 @@ EOF
rm -f $OUT/.chkfileperm.sh
fi
RELOUT=$(echo $OUT | sed "s#^${ANDROID_BUILD_TOP}/##")
stop_n_start=false
for TARGET in $(echo $LOC | tr " " "\n" | sed "s#.*$OUT##" | sort | uniq); do
for TARGET in $(echo $LOC | tr " " "\n" | sed "s#.*${RELOUT}##" | sort | uniq); do
# Make sure file is in $OUT/system or $OUT/data
case $TARGET in
/system/*|/data/*)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment