The open source OpenXR runtime
at main 20 lines 459 B view raw
1#!/usr/bin/env python3 2 3# Copyright 2020, Collabora, Ltd. 4# SPDX-License-Identifier: BSL-1.0 5 6import os, sys, shutil 7 8# get absolute input and output paths 9input_path = os.path.join( 10 sys.argv[1]) 11 12output_path = os.path.join( 13 sys.argv[2]) 14 15# make sure destination directory exists 16os.makedirs(os.path.dirname(output_path), exist_ok=True) 17 18shutil.copyfile(input_path, output_path) 19 20print("Copying plugin " + str(input_path) + " to " + str(output_path))