aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Ernst <[email protected]>2017-08-21 14:51:09 -0700
committerJeremy Ernst <[email protected]>2017-08-21 14:51:09 -0700
commit89aef5faa84538223bfd751fddb2e123f1f5bce6 (patch)
treeab4b6e048459c58a70505661e3456fa054692898
parentAdded sample character (diff)
downloadartv2-89aef5faa84538223bfd751fddb2e123f1f5bce6.tar.xz
artv2-89aef5faa84538223bfd751fddb2e123f1f5bce6.zip
fixed install.mel issueHEADmaster
fixed install.mel issue
-rw-r--r--install.mel2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.mel b/install.mel
index 14ce158..36c4c16 100644
--- a/install.mel
+++ b/install.mel
@@ -50,7 +50,7 @@ python("newModFile = os.path.join(mayaModDir, modFileName)");
python("replace_str = 'REPLACE_TO_YOUR_PATH'");
// Create new module file from template
-python("if not os.path.exists(mayaModDir): os.path.makedirs(mayaModDir)");
+python("if not os.path.exists(mayaModDir): os.makedirs(mayaModDir)");
python("with open(modFile, 'r') as f: template = f.read()");
python("with open(newModFile, 'w') as f: f.write(template.replace(replace_str, modDir))");