mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-30 13:35:27 +00:00
bd1dd9d863
If we assign the execution output directly it will fail (tested on Android 11): pdx201:/ # INSTALLER=/data/adb/magisk_install /data/adb/magisk_install/flash_script.sh /data/adb/magisk_install/flash_script.sh[31]: typeset: -o: is not an identifier Because: local cmds=$($bb sh -o standalone -c " for arg in \$(tr '\0' '\n' < /proc/$$/cmdline); do if [ -z \"\$cmds\" ]; then # Skip the first argument as we want to change the interpreter cmds=\"sh -o standalone\" else cmds=\"\$cmds '\$arg'\" fi done echo \$cmds") /system/bin/sh: typeset: -o: is not an identifier Signed-off-by: Pablo Mendez Hernandez <pablomh@gmail.com> |
||
---|---|---|
.. | ||
addon.d.sh | ||
boot_patch.sh | ||
emulator.sh | ||
flash_script.sh | ||
magisk_uninstaller.sh | ||
module_installer.sh | ||
update_binary.sh | ||
util_functions.sh |