diff options
author | osm0sis <osm0sis@outlook.com> | 2020-02-14 14:05:09 -0400 |
---|---|---|
committer | osm0sis <osm0sis@outlook.com> | 2020-02-14 14:05:09 -0400 |
commit | 3f6d11247201ef98483dbc9f36c1dc59820c8979 (patch) | |
tree | 16faf79c6cca6bc3adfc1af42c66bda27ecb3c3e /META-INF | |
parent | 273384db045b310faa5916d38df6d7be4729083e (diff) |
AK3+Backend: fix truncated recovery.log with FlashAfterUpdate
Diffstat (limited to 'META-INF')
-rwxr-xr-x | META-INF/com/google/android/update-binary | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index 55d7625..ad1cb8e 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -17,7 +17,7 @@ test "$ANDROID_ROOT" || ANDROID_ROOT=/system; ui_print() { until [ ! "$1" ]; do echo "ui_print $1 - ui_print" > $OUTFD; + ui_print" >> $OUTFD; shift; done; } @@ -26,7 +26,7 @@ ui_printfile() { ui_print "$line"; done < $1; } -show_progress() { echo "progress $1 $2" > $OUTFD; } +show_progress() { echo "progress $1 $2" >> $OUTFD; } file_getprop() { $BB grep "^$2=" "$1" | $BB cut -d= -f2-; } setup_mountpoint() { test -L $1 && $BB mv -f $1 ${1}_link; |