1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00
libvirt/scripts/meson-dist.py

14 lines
293 B
Python
Raw Normal View History

#!/usr/bin/env python3
import os
import shutil
import sys
file_name = sys.argv[1]
meson_build_root = os.environ['MESON_BUILD_ROOT']
meson_dist_root = os.environ['MESON_DIST_ROOT']
shutil.copy(os.path.join(meson_build_root, file_name),
os.path.join(meson_dist_root, file_name))