Skip to content
This repository
Browse code

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

Bug introduced in 0894c56#L0L118
  • Loading branch information...
commit 462a485f0686b44fbaabad875ee8a21e3e0f61bc 1 parent 2d29b03
Jonathan 'Wolf' Rentzsch authored February 11, 2011

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  Xmod/Xmod.applescript
2  Xmod/Xmod.applescript
@@ -191,6 +191,8 @@ on getModelInfo(modelFileUnixPath, theComments)
191 191
 		
192 192
 		-- if we didn't find any directory specifiers in the comments, then make theOutputDir the folder containg the model file
193 193
 		if ((length of theOutputDir) = 0) and ((length of theHumanDir) = 0) and ((length of theMachineDir) = 0) then
  194
+			if not (exists folder modelName of modelFileFolder) then Â
  195
+				make folder at modelFileFolder with properties {name:modelName}
194 196
 			set modelSrcFolder to folder modelName of modelFileFolder
195 197
 			set theOutputDir to text 1 thru -2 of (POSIX path of (modelSrcFolder as alias))
196 198
 			-- otherwise, if theOutputDir isn't a full path itself already, set theOutputDir to a full path relative to the model file

0 notes on commit 462a485

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