summaryrefslogtreecommitdiff
path: root/tools/dist-cmd.py
blob: 30da5da34995057fd8e9cfe7c036cc09f9b5c72c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env python3

# External command, intended to be called with meson.add_dist_script() in meson.build.
# meson.add_dist_script() can't call a script that's not committed to git.
# This script shall be committed. It can be used for calling other non-committed scripts.

# dist-cmd.py <cmd> <args>...

import sys
import subprocess

sys.exit(subprocess.run(sys.argv[1:]).returncode)