fix: fix a indent err in software install function

This commit is contained in:
maksyuki committed 2025-12-17 17:35:15 +08:00
1 parent f63b232dc8
commit 98e13efeaf
1 file changed
+3 -3
+3 -3
View File
@@ -196,11 +196,11 @@ def check_installation_success():
def check_software_toolchain_installed():
"""Check if Software toolchain is already installed"""
print("Checking if Software toolchain is installed...")
# Method 1: Check if verilator command exists
if shutil.which("riscv32-unknown-elf-gcc"):
print("✓ riscv32-unknown-elf-gcc command exists")
# Check version
result = run_command("riscv32-unknown-elf-gcc --version", check=False)
if result.returncode == 0:
@@ -216,7 +216,7 @@ def check_software_toolchain_installed():
def install_software_toolchain():
"""Install software toolchain from source"""
"""Install software toolchain from source"""
print("\nInstalling software toolchain from source...")
# Create temporary directory