changed python to python3
This commit is contained in:
parent
b3592929d2
commit
49f51d6069
@ -75,7 +75,7 @@ extract_boot_image_from_payload_file() {
|
|||||||
# For cases in which the repo has already been cloned, I prefer to create a random directory name to clone into, instead of deleting any file or directory on the user's machine.
|
# For cases in which the repo has already been cloned, I prefer to create a random directory name to clone into, instead of deleting any file or directory on the user's machine.
|
||||||
scripts_directory_name="scripts_$(generate_random_alnum_string_of_length_6)"
|
scripts_directory_name="scripts_$(generate_random_alnum_string_of_length_6)"
|
||||||
git clone https://github.com/LineageOS/scripts /tmp/$scripts_directory_name
|
git clone https://github.com/LineageOS/scripts /tmp/$scripts_directory_name
|
||||||
python /tmp/$scripts_directory_name/update-payload-extractor/extract.py --partitions boot --output_dir /tmp/ /tmp/payload.bin
|
python3 /tmp/$scripts_directory_name/update-payload-extractor/extract.py --partitions boot --output_dir /tmp/ /tmp/payload.bin
|
||||||
}
|
}
|
||||||
|
|
||||||
extract_boot_image_from_payload_based_ota() {
|
extract_boot_image_from_payload_based_ota() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user