mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-07 22:02:12 +08:00
winmake: clean build output for contrib if dependencies rebuild
Change-Id: I3fbfbe055255948e003e69e76cdc34f483322ccc
This commit is contained in:
@ -266,7 +266,9 @@ def make(pkg_info, force, sdk_version, toolset, isPlugin):
|
||||
log.debug('Forcing fetch/patch/build for ' + pkg_name)
|
||||
should_fetch = not pkg_up_to_date
|
||||
pkg_build_path = contrib_build_dir + '\\' + pkg_name
|
||||
should_fetch &= not os.path.exists(pkg_build_path)
|
||||
if os.path.exists(pkg_build_path):
|
||||
log.warning('Cleaning build for ' + pkg_name)
|
||||
getSHrunner().exec_batch('rmdir', ['/s', '/q', pkg_build_path])
|
||||
if not pkg_up_to_date or force:
|
||||
if not force and not current_version is None:
|
||||
log.warning(pkg_name + ' is not up to date')
|
||||
|
Reference in New Issue
Block a user