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

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
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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/*)