[DEBUG] correction of missing file in dependency

This commit is contained in:
Edouard DUPIN 2014-10-08 21:52:22 +02:00
parent d0fb9045c4
commit 0f4349e65a

View File

@ -29,6 +29,11 @@ def need_re_build(dst, src, dependFile=None, file_cmd="", cmdLine=""):
and os.path.exists(dst) == False: and os.path.exists(dst) == False:
debug.verbose(" ==> must rebuild (dst does not exist)") debug.verbose(" ==> must rebuild (dst does not exist)")
return True return True
if dst != "" \
and dst != None \
and os.path.exists(src) == False:
debug.warning(" ==> unexistant file :'" + src + "'")
return True
# chek the basic date if the 2 files # chek the basic date if the 2 files
if dst != "" \ if dst != "" \
and dst != None \ and dst != None \