aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/mkdir.py
blob: e947bf081b6027abd188bafddfa549482ef82f79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python
import os
import sys


def mkdir_p(directory):
    if not os.path.exists(directory):
        os.makedirs(directory)


if __name__ == "__main__":
    for directory in sys.argv[1:]:
        mkdir_p(directory)