Skip redundant binaries

pull/9223/head
Oren Cohen 2019-01-24 19:43:05 +02:00
parent 3abe696121
commit e1af45b3b3
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,8 @@ for f in fnmatch.filter(os.listdir(DELIVERY_DIR), '*.hex'):
if os.path.exists(test_directory):
target_dir = os.path.join(test_directory, 'TARGET_FUTURE_SEQUANA_PSA', f)
if not os.path.exists(os.path.join(test_directory, 'TARGET_FUTURE_SEQUANA_PSA')):
continue
else:
target_dir = os.path.join(SCRIPT_DIR, f)