Lines Matching refs:dest_sdk
52 dest_sdk = os.path.join(destdir, sdk_basename)
55 dest_sdk = os.path.join(destination, sdk_basename)
72 if os.path.exists(dest_sdk):
73 os.remove(dest_sdk)
75 os.link(target_sdk, dest_sdk)
77 shutil.copy(target_sdk, dest_sdk)
88 cmd = "sh %s -p -y -d %s" % (dest_sdk, destination)
91 logger.info('Successfully unpacked %s to %s' % (dest_sdk, destination))
92 os.remove(dest_sdk)
94 logger.error('Failed to unpack %s to %s' % (dest_sdk, destination))
97 rm_or_not = " && rm -f %s" % dest_sdk
100 cmd = "ssh %s 'sh %s -p -y -d %s%s'" % (host, dest_sdk, destdir, rm_or_not)
103 logger.info('Successfully unpacked %s to %s' % (dest_sdk, destdir))
105 logger.error('Failed to unpack %s to %s' % (dest_sdk, destdir))