aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/yield_line.py
blob: 9c1c5391460a624cb915b059efbc21e78630a025 (plain) (blame)
1
2
3
4
5
6
7
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')