[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
midi2ly bugfix
From: |
Mats Bengtsson |
Subject: |
midi2ly bugfix |
Date: |
Sat, 08 Jun 2002 23:55:17 +0200 |
Hi,
Here comes a small patch for midi2ly. I guess my change gives the
desired behaviour, previously you just got an error message
when using the -o option.
/Mats
Generated by (address unknown),
>From = lilypond-1.5.60, To = lilypond-1.5.60.mb1
usage
cd lilypond-source-dir; patch -E -p1 < lilypond-1.5.60-1.5.60.mb1.diff
Patches do not contain automatically generated files
or (urg) empty directories,
i.e., you should rerun autoconf, configure
diff -purN ../lilypond-1.5.60/ChangeLog ./ChangeLog
--- ../lilypond-1.5.60/ChangeLog Sat Jun 8 03:32:28 2002
+++ ./ChangeLog Sat Jun 8 23:25:00 2002
@@ -1,3 +1,7 @@
+2002-06-08 Mats Bengtsson <address@hidden>
+
+ * scripts/midi2ly.py: Fix handling of -o
+
2002-06-07 Han-Wen Nienhuys <address@hidden>
* VERSION: 1.5.60 released
diff -purN ../lilypond-1.5.60/VERSION ./VERSION
--- ../lilypond-1.5.60/VERSION Sat Jun 8 03:32:16 2002
+++ ./VERSION Sat Jun 8 23:29:45 2002
@@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond
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.
diff -purN ../lilypond-1.5.60/scripts/midi2ly.py ./scripts/midi2ly.py
--- ../lilypond-1.5.60/scripts/midi2ly.py Fri Feb 1 19:20:28 2002
+++ ./scripts/midi2ly.py Sat Jun 8 23:29:34 2002
@@ -1102,8 +1102,11 @@ for f in files:
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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- midi2ly bugfix,
Mats Bengtsson <=