Skip to content

Commit

Permalink
[FIX] Xmo'd wasn't creating MO src folder.
Browse files Browse the repository at this point in the history
Bug introduced in 0894c56#L0L118
  • Loading branch information
rentzsch committed Feb 11, 2011
1 parent 2d29b03 commit 462a485
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Xmod/Xmod.applescript
Expand Up @@ -191,6 +191,8 @@ on getModelInfo(modelFileUnixPath, theComments)

-- if we didn't find any directory specifiers in the comments, then make theOutputDir the folder containg the model file
if ((length of theOutputDir) = 0) and ((length of theHumanDir) = 0) and ((length of theMachineDir) = 0) then
if not (exists folder modelName of modelFileFolder) then Â
make folder at modelFileFolder with properties {name:modelName}
set modelSrcFolder to folder modelName of modelFileFolder
set theOutputDir to text 1 thru -2 of (POSIX path of (modelSrcFolder as alias))
-- otherwise, if theOutputDir isn't a full path itself already, set theOutputDir to a full path relative to the model file
Expand Down

0 comments on commit 462a485

Please sign in to comment.