blob: 38ca3004afcc75b72e7b5175702c01032c72f77c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import subprocess
import sys
def fix(s):
# we use '#' instead of ',' because ymake always splits args by comma
if 'internalize' in s:
return s.replace('#', ',')
return s
if __name__ == '__main__':
path = sys.argv[1]
args = [fix(s) for s in [path] + sys.argv[2:]]
rc = subprocess.call(args, shell=False, stderr=sys.stderr, stdout=sys.stdout)
sys.exit(rc)
|