Skip to content

Commit c4280be

Browse files
committed
Attempt to update tools only for programs, not libraries
1 parent d0bea21 commit c4280be

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mbed/mbed.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -1291,9 +1291,7 @@ def update_tools(self, path):
12911291
os.mkdir(path)
12921292
with cd(path):
12931293
tools_dir = 'tools'
1294-
if not os.path.exists(tools_dir):
1295-
return self.add_tools(path)
1296-
else:
1294+
if os.path.exists(tools_dir):
12971295
with cd(tools_dir):
12981296
try:
12991297
action("Updating the mbed 2.0 SDK tools...")

0 commit comments

Comments
 (0)