def _copy_source_code(orig, dest): for path in standard._ls_tree(orig): dest_dir = os.path.join(dest, os.path.dirname(path)) bb.utils.mkdirhier(dest_dir) dest_path = os.path.join(dest, path) shutil.move(os.path.join(orig, path), dest_path)
def _copy_source_code(orig, dest): for path in standard._ls_tree(orig): dest_dir = os.path.join(dest, os.path.dirname(path)) bb.utils.mkdirhier(dest_dir) dest_path = os.path.join(dest, path) shutil.move(os.path.join(orig, path), dest_path)