mirror of
https://github.com/xiaolu/mkbootimg_tools.git
synced 2026-02-13 13:39:30 +01:00
Previously img_info was created using double quotes and that allows a lot of shell interpretation that can cause problems. Switch to using ' to avoid most of the shell interpretation (all that is left is '). Make sure that works well by escaping single quotes properly. For example, the command line: boo='ya' androidboot.selinux=permissive hi='there' would be escaped in img_info as cmd_line='boo='"'"'ya'"'"' androidboot.selinux=permissive hi='"'"'there'"'"''
9.5 KiB
Executable File
9.5 KiB
Executable File