aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/mkdir.py
blob: a326b293008f4404c5915616c97827a0d9e91b43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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)