+2002-06-08 Mats Bengtsson <mats.bengtsson@s3.kth.se>
+
+ * scripts/midi2ly.py: Fix handling of -o
+
2002-06-08 Han-Wen <hanwen@cs.uu.nl>
* lily/molecule.cc (translate): set max distance to 100 cm.
MAJOR_VERSION=1
MINOR_VERSION=5
PATCH_LEVEL=60
-MY_PATCH_LEVEL=
+MY_PATCH_LEVEL=mb1
# use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
o = output_name
(outdir, outbase) = os.path.split (o)
- if outdir != '.':
- mkdir_p (outdir, 0777)
+ if outdir != '.' and outdir != '':
+ try:
+ os.mkdir (outdir, 0777)
+ except OSError:
+ pass
convert_midi (f, o)