]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/ly2dvi.py
release: 1.3.125
[lilypond.git] / scripts / ly2dvi.py
index 00ce2e48afd8078fde020d7ffc0de4ad58c5cf2c..f0c91aad996d782f618f02d76529ca0500c6d07f 100644 (file)
@@ -337,6 +337,9 @@ class TeXOutput:
 
         outfile=this.__base + '.dvi'
         if Props.get('output') != '':
+           if not os.path.exists(Props.get('output')):
+                   os.mkdir(Props.get('output'))
+
             outfile = os.path.join(Props.get('output'), outfile )
             
         this.write(r"""