Skip to content

Commit b79b353

Browse files
authored
Update setup_matlab.py
1 parent 02efba5 commit b79b353

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/setup_matlab.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,15 @@ def download_and_install_matlab_runtime():
128128
installer_file = os.listdir(installer_path)[0]
129129

130130
if system == "windows":
131-
command = ['setup -agreeToLicense yes']
131+
commands = ['setup -agreeToLicense yes']
132132
elif system == "darwin":
133133
commands = [
134134
f'open ./{installer_file} --args -agreeToLicense yes',
135135
f'open ./{installer_file}'
136136
]
137137

138138
elif system == "linux":
139-
command = [f'sudo ./{installer_file} -agreeToLicense yes']
139+
commands = [f'sudo ./{installer_file} -agreeToLicense yes']
140140

141141
success = False
142142
for command in commands:

0 commit comments

Comments
 (0)