mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-03 23:47:08 +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"):
|
if not file.endswith(".c"):
|
||||||
continue
|
continue
|
||||||
example = file[:-2]
|
example = file[:-2]
|
||||||
apps_folder = apps_btstack + example + "/"
|
apps_folder = apps_btstack + "example/" + example + "/"
|
||||||
if os.path.exists(apps_folder):
|
if os.path.exists(apps_folder):
|
||||||
shutil.rmtree(apps_folder)
|
shutil.rmtree(apps_folder)
|
||||||
print("- %s" % example)
|
print("- %s" % example)
|
||||||
|
|
||||||
print("Deleting example folder")
|
print("Deleting example folder")
|
||||||
examples_folder = apps_btstack + "/examples"
|
examples_folder = apps_btstack + "/example"
|
||||||
if os.path.exists(examples_folder):
|
if os.path.exists(examples_folder):
|
||||||
shutil.rmtree(examples_folder)
|
shutil.rmtree(examples_folder)
|
||||||
|
Loading…
Reference in New Issue
Block a user