Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

[FIX] Xmo'd wasn't creating MO src folder.

Bug introduced in 0894c56#L0L118
  • Loading branch information...
commit 462a485f0686b44fbaabad875ee8a21e3e0f61bc 1 parent 2d29b03
@rentzsch authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  Xmod/Xmod.applescript
2  Xmod/Xmod.applescript
@@ -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

0 comments on commit 462a485

Please sign in to comment.
Something went wrong with that request. Please try again.