1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 20:38:10 +00:00

fix(core): fix sed script syntax

This commit is contained in:
stevenbooke 2024-02-01 14:11:14 -08:00 committed by matejcik
parent 7958061705
commit ed1785a985

View File

@ -58,7 +58,7 @@ def generate(env):
rf"-e 's/utils\.UI_LAYOUT == \"TR\"/{layout_tr}/g'",
r"-e 's/if TYPE_CHECKING/if False/'",
r"-e 's/import typing/# \0/'",
r"-e '/from typing import (/,/^\s*)/ {s/^/# /}'",
r"-e '/from typing import (/,/^\s*)/ {s/^/# /; }'",
r"-e 's/from typing import/# \0/'",
]
)