rro: build: Make it work after m clean
This commit is contained in:
parent
3adfb82419
commit
1984bedbd6
@ -18,9 +18,9 @@ m installclean
|
||||
mkdir -p $OUT # $OUT may not exist yet, but we need to start creating the log file now
|
||||
m $OVERLAYS | tee $OUT/.log
|
||||
|
||||
LOC="$(cat $OUT/.log | sed -r -e 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' -e 's/^\[ {0,2}[0-9]{1,3}% [0-9]{1,6}\/[0-9]{1,6}\] +//' \
|
||||
| grep '^Install: ' | cut -d ':' -f 2)"
|
||||
RELOUT=$(echo $OUT | sed "s#^${ANDROID_BUILD_TOP}/##")
|
||||
LOC="$(cat $OUT/.log | sed -r -e 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' -e 's/^\[ {0,2}[0-9]{1,3}% [0-9]{1,6}\/[0-9]{1,6}\] +//' \
|
||||
| grep '^Install: ' | grep "$RELOUT" | cut -d ':' -f 2)"
|
||||
FILES=$(echo $LOC | tr " " "\n" | sed "s#.*${RELOUT}##" | sort | uniq)
|
||||
|
||||
for TARGET in $FILES; do
|
||||
|
Loading…
Reference in New Issue
Block a user