[acrn-configuration tool] make scenario shared file error cp error
Fixed the problem that the "'cp %s %s' % (source, target), cur_dir" command
is still executed when there is no ACPI_VM.bin file after build.
@@ -116,6 +116,7 @@ def create_acrn_deb(board, scenario, version, build_dir):
continue
source = cur_dir + source
target = deb_dir + target
+ if os.path.exists(source):
if os.path.exists(target):
run_command('cp %s %s' % (source, target), cur_dir)
else:
