mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 00:28:18 +00:00
esp32: fix delete examples script
This commit is contained in:
parent
47a155880c
commit
3cd2e1916c
@ -22,12 +22,12 @@ for file in os.listdir(examples_embedded):
|
||||
if not file.endswith(".c"):
|
||||
continue
|
||||
example = file[:-2]
|
||||
apps_folder = apps_btstack + example + "/"
|
||||
apps_folder = apps_btstack + "example/" + example + "/"
|
||||
if os.path.exists(apps_folder):
|
||||
shutil.rmtree(apps_folder)
|
||||
print("- %s" % example)
|
||||
|
||||
print("Deleting example folder")
|
||||
examples_folder = apps_btstack + "/examples"
|
||||
examples_folder = apps_btstack + "/example"
|
||||
if os.path.exists(examples_folder):
|
||||
shutil.rmtree(examples_folder)
|
||||
|
Loading…
Reference in New Issue
Block a user