mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 19:56:30 +00:00
warn for whitespaces in path (#18985)
This commit is contained in:
parent
9cf3d16065
commit
b10b42ff34
@ -1,8 +1,13 @@
|
|||||||
Import('env')
|
Import('env')
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
import pathlib
|
||||||
|
from os.path import join
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
|
if " " in join(pathlib.Path(env["PROJECT_DIR"])):
|
||||||
|
print ("\u001b[31;1m*** Whitespace(s) in project path, unexpected issues/errors can happen ***\u001b[0m")
|
||||||
|
|
||||||
# copy tasmota/user_config_override_sample.h to tasmota/user_config_override.h
|
# copy tasmota/user_config_override_sample.h to tasmota/user_config_override.h
|
||||||
if os.path.isfile("tasmota/user_config_override.h"):
|
if os.path.isfile("tasmota/user_config_override.h"):
|
||||||
print ("*** use provided user_config_override.h as planned ***")
|
print ("*** use provided user_config_override.h as planned ***")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user