Magisk/scripts
pablomh bd1dd9d863 Fix ensure_bb by assigning the arguments propery
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>
2020-11-07 14:39:03 -08:00
..
addon.d.sh scripts: fix addon.d using $TMPDIR 2020-08-19 02:05:58 -07:00
boot_patch.sh Significantly broaden sepolicy.rule compatibility 2020-11-02 23:20:38 -08:00
emulator.sh Update Android 11 emulator support 2020-07-27 03:33:11 -07:00
flash_script.sh scripts: ensure system is able to be mounted rw before attempting 2020-04-24 02:24:36 -07:00
magisk_uninstaller.sh Significantly broaden sepolicy.rule compatibility 2020-11-02 23:20:38 -08:00
module_installer.sh Require Magisk v20.4 for modules 2020-10-28 05:13:39 -07:00
update_binary.sh Update scripts to use BusyBox standalone mode 2020-03-08 22:25:06 -07:00
util_functions.sh Fix ensure_bb by assigning the arguments propery 2020-11-07 14:39:03 -08:00