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 <[EMAIL PROTECTED]> GNU Solfege - free eartraining, http://www.gnu.org/software/solfege/ _______________________________________________ Gnu-music-discuss mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/gnu-music-discuss