mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +00:00
fix(core): fix sed script syntax
This commit is contained in:
parent
7958061705
commit
ed1785a985
@ -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/'",
|
||||
]
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user