mirror of https://github.com/arendst/Tasmota.git
warn for whitespaces in path (#18985)
This commit is contained in:
parent
9cf3d16065
commit
b10b42ff34
|
@ -1,8 +1,13 @@
|
|||
Import('env')
|
||||
|
||||
import os
|
||||
import pathlib
|
||||
from os.path import join
|
||||
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
|
||||
if os.path.isfile("tasmota/user_config_override.h"):
|
||||
print ("*** use provided user_config_override.h as planned ***")
|
||||
|
|
Loading…
Reference in New Issue