Skip to content

Commit 95a3204

Browse files
committed
Fix switch script
1 parent e958443 commit 95a3204

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

toltec/builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -339,11 +339,11 @@ def _run_script( # pylint: disable=R0913, R0917, R0914
339339
)
340340

341341
if is_aarch64:
342-
pre_script.append(
342+
pre_script.extend(
343343
(
344-
"if [ -f /opt/x-tools/switch-aarch64.sh ]; then"
345-
+ "source /opt/x-tools/switch-aarch64.sh;"
346-
+ "fi"
344+
"if [ -f /opt/x-tools/switch-aarch64.sh ]; then",
345+
" source /opt/x-tools/switch-aarch64.sh",
346+
"fi",
347347
)
348348
)
349349

0 commit comments

Comments
 (0)