aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/yield_line.py
blob: c7087e521e79fd7f6a82b604469735f162369eae (plain) (blame)
1
2
3
4
5
6
7
8
import sys


if __name__ == '__main__':
    pos = sys.argv.index('--')

    with open(sys.argv[pos + 1], 'a') as f:
        f.write(' '.join(sys.argv[pos + 2:]) + '\n')