changeset 533:60da469773e5

minor fix to create render dir if it does not already exist.
author Robert McIntyre <rlm@mit.edu>
date Mon, 25 Jun 2012 11:58:36 -0500
parents a3bdff5554ad
children 3f2072b8e457
files clojure/com/aurellem/run/final_cut.clj
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/clojure/com/aurellem/run/final_cut.clj	Mon Jun 25 11:15:08 2012 -0500
     1.2 +++ b/clojure/com/aurellem/run/final_cut.clj	Mon Jun 25 11:58:36 2012 -0500
     1.3 @@ -20,8 +20,9 @@
     1.4       (let [ram-map-dir (File. target-dir "ram-map")
     1.5             frames-dir (File. target-dir "frames")
     1.6             audio-file (File. target-dir "audio.wav")
     1.7 -           _ (.mkdirs ram-map-dir)
     1.8 -           _ (.mkdirs frames-dir)
     1.9 +           _ (.mkdir target-dir)
    1.10 +           _ (.mkdir ram-map-dir)
    1.11 +           _ (.mkdir frames-dir)
    1.12             wave-writer (WaveWriter. audio-file)
    1.13             moves (vec moves)]
    1.14         (set-state! initial-state)