summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorosm0sis <osm0sis@outlook.com>2019-08-04 01:16:54 -0300
committerosm0sis <osm0sis@outlook.com>2019-08-04 01:16:54 -0300
commitf3f80014cc4f053a8ed7230136bee83cd42644d1 (patch)
tree0e2f0ec7e91d2f9c0aaf00fa81b7e94df60c1490
parent958b2c873ab36f52c4830b3bb224c3753d5c47cd (diff)
AK3+Backend: fix multi-line abort outputs
-rwxr-xr-xMETA-INF/com/google/android/update-binary2
-rwxr-xr-xtools/ak3-core.sh2
2 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 8758ade..4d7a38e 100755
--- a/META-INF/com/google/android/update-binary
+++ b/META-INF/com/google/android/update-binary
@@ -53,7 +53,7 @@ unmount_all() {
$bb umount /data) 2>/dev/null;
}
abort() {
- ui_print "$*";
+ ui_print "$@";
debugging;
if [ ! -f anykernel.sh -o "$(file_getprop anykernel.sh do.cleanuponabort 2>/dev/null)" == 1 ]; then
cleanup;
diff --git a/tools/ak3-core.sh b/tools/ak3-core.sh
index e1ce1f7..97b0e2e 100755
--- a/tools/ak3-core.sh
+++ b/tools/ak3-core.sh
@@ -22,7 +22,7 @@ ui_print() {
# abort ["<text>" [...]]
abort() {
- ui_print " " "$*";
+ ui_print " " "$@";
exit 1;
}