fix: Mount script causes build to fail (#1613)

This commit is contained in:
Benjamin
2023-12-31 13:32:57 -08:00
committed by GitHub
parent 3f96608398
commit f3c78c2c24

View File

@ -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