From f3c78c2c244f4162d7a6ebb2ea0d602dcd6b6533 Mon Sep 17 00:00:00 2001 From: Benjamin <73490201+BenjaminHalko@users.noreply.github.com> Date: Sun, 31 Dec 2023 13:32:57 -0800 Subject: [PATCH] fix: Mount script causes build to fail (#1613) --- lib/services/root_api.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/services/root_api.dart b/lib/services/root_api.dart index 86d44a39..39fe5086 100644 --- a/lib/services/root_api.dart +++ b/lib/services/root_api.dart @@ -145,9 +145,9 @@ class RootAPI { final String mountScript = ''' #!/system/bin/sh # Mount using Magisk mirror, if available. - MAGISKTMP="$( magisk --path )" || MAGISKTMP=/sbin - MIRROR="${'$'}MAGISKTMP/.magisk/mirror" - if [ ! -f ${'$'}MIRROR ]; then + MAGISKTMP="\$( magisk --path )" || MAGISKTMP=/sbin + MIRROR="\$MAGISKTMP/.magisk/mirror" + if [ ! -f \$MIRROR ]; then MIRROR="" fi