gnu-music-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ly2dvi patch


From: Tom Cato Amundsen
Subject: ly2dvi patch
Date: Mon, 8 Jan 2001 00:53:41 +0100
User-agent: Mutt/1.2.5i

I need this for ly2dvi to work with
  OUTPUTDIR=out
set in ~/.lilyrc if pwd/out does not exists

--- ly2dvi.py.orig      Mon Jan  8 00:50:57 2001
+++ ly2dvi.py   Mon Jan  8 00:45:52 2001
@@ -338,6 +338,8 @@
         outfile=this.__base + '.dvi'
         if Props.get('output') != '':
             outfile = os.path.join(Props.get('output'), outfile )
+            if not os.path.exists(Props.get('output')):
+                os.mkdir(Props.get('output'))
             
         this.write(r"""
 %% \vfill\hfill{\lilypondtagline}
-- 
Tom Cato Amundsen <address@hidden>
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]