From a994a203e10019895fd0fa2cc40be9b64726c64f Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Sun, 9 Jun 2002 11:04:27 +0000 Subject: [PATCH] '' --- ChangeLog | 4 ++++ VERSION | 2 +- scripts/midi2ly.py | 7 +++++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3d220d7106..19e1c8785c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-06-08 Mats Bengtsson + + * scripts/midi2ly.py: Fix handling of -o + 2002-06-08 Han-Wen * lily/molecule.cc (translate): set max distance to 100 cm. diff --git a/VERSION b/VERSION index d38901bea9..2ddacd90b6 100644 --- a/VERSION +++ b/VERSION @@ -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 --git a/scripts/midi2ly.py b/scripts/midi2ly.py index 0ddc1aa56f..fbd9596eba 100644 --- a/scripts/midi2ly.py +++ b/scripts/midi2ly.py @@ -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) -- 2.39.5