aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/mkdir.py
blob: aa26988bed4260e412b6252b9572bd10312e8572 (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)