with a conditional now

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-08-08 01:34:03 +02:00
parent 00dbdf3afe
commit 4dad3fcb10

View File

@@ -111,7 +111,7 @@ def python_slave(key, platform, cmake_args = [], cmake_env = {}, build_args = []
# property set? If so, clobber the checkout folders.
if platform.startswith('win'):
# del /q destination\* && for /d %x in (destination\*) do @rd /s /q %x
cmd = ['echo', WithProperties('%(fullclean:-no)s')]
cmd = ['echo', WithProperties('if %(fullclean:-no)s == yes (echo yes) ELSE (echo no)')]
else:
cmd = ['bash', '-c',
WithProperties('if [ %(fullclean:-no)s == yes ]; then echo pwd; rm -rfv *; echo fully cleaned; fi'),