forked from KolibriOS/kolibrios
[WS][build.py][clean] Only delete file if it exists
git-svn-id: svn://kolibrios.org@9380 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
93196a1995
commit
577dc1255d
@ -21,6 +21,7 @@ def build():
|
|||||||
def clean():
|
def clean():
|
||||||
output_file_list = parse_tupfile_outputs("Tupfile.lua")
|
output_file_list = parse_tupfile_outputs("Tupfile.lua")
|
||||||
for output_file in output_file_list:
|
for output_file in output_file_list:
|
||||||
|
if os.path.exists(output_file):
|
||||||
os.remove(output_file)
|
os.remove(output_file)
|
||||||
|
|
||||||
def main(argv):
|
def main(argv):
|
||||||
|
Loading…
Reference in New Issue
Block a user