diff options
Diffstat (limited to 'Demo/scripts/makedir.py')
-rwxr-xr-x | Demo/scripts/makedir.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Demo/scripts/makedir.py b/Demo/scripts/makedir.py index 4c00d88..209f6c4 100755 --- a/Demo/scripts/makedir.py +++ b/Demo/scripts/makedir.py @@ -8,13 +8,13 @@ import sys, os def main(): - for p in sys.argv[1:]: - makedirs(p) + for p in sys.argv[1:]: + makedirs(p) def makedirs(p): - if p and not os.path.isdir(p): - head, tail = os.path.split(p) - makedirs(head) - os.mkdir(p, 0777) + if p and not os.path.isdir(p): + head, tail = os.path.split(p) + makedirs(head) + os.mkdir(p, 0777) main() |