From 38ec7508357499b6bcf78a2cf0e825caac27a591 Mon Sep 17 00:00:00 2001 From: "Jeffrey B. Reed" Date: Sat, 19 Sep 1998 23:46:51 +0200 Subject: [PATCH] patch::: 1.0.9.jbr1 pl 9.jbr1 - scripts/convert-mudela.py: We must close infile and outfile before a rename occurs. NT Windows locks open files. stepmake/bin/package-zip32.sh: renamed all python bins to: .py in NT Windows distribution. --- Generated by daboys@bga.com using package-diff 0.62, From = lilypond-1.0.9, To = lilypond-1.0.9.jbr1 usage cd lilypond-source-dir; patch -E -p1 < lilypond-1.0.9.jbr1.diff Patches do not contain automatically generated files or (urg) empty directories, i.e., you should rerun autoconf, configure and possibly make outdirs. --state 1.0.9 1.0.9.jbr1 ++state --- NEWS | 12 +++++++++++- VERSION | 2 +- lily/VERSION | 2 +- make/STATE-VECTOR | 1 + scripts/convert-mudela.py | 8 +++++++- stepmake/bin/package-zip32.sh | 4 +++- 6 files changed, 24 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index 3f4773076a..1889f523cc 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,14 @@ -pl 9.jcn1 +--- ../lilypond-1.0.9/NEWS Thu Sep 17 12:03:26 1998 +++ b/NEWS Sat Sep 19 23:46:51 1998 +@@ -1,3 +1,8 @@ +pl 9.jbr1 + - scripts/convert-mudela.py: We must close infile and outfile before + a rename occurs. NT Windows locks open files. + stepmake/bin/package-zip32.sh: renamed all python bins to: + .py in NT Windows distribution. + + (need to fix pictures. I know) + pl 9.jcn1 - started gnuisation of website * filetype and size * 'no gifs due to patent problems' diff --git a/VERSION b/VERSION index b67dc4d731..7097c5caa1 100644 --- a/VERSION +++ b/VERSION @@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond MAJOR_VERSION=1 MINOR_VERSION=0 PATCH_LEVEL=9 -MY_PATCH_LEVEL=jcn1 +MY_PATCH_LEVEL=jbr1 # use the above to send patches: MY_PATCH_LEVEL is always empty for a # released version. diff --git a/lily/VERSION b/lily/VERSION index b67dc4d731..7097c5caa1 100644 --- a/lily/VERSION +++ b/lily/VERSION @@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond MAJOR_VERSION=1 MINOR_VERSION=0 PATCH_LEVEL=9 -MY_PATCH_LEVEL=jcn1 +MY_PATCH_LEVEL=jbr1 # use the above to send patches: MY_PATCH_LEVEL is always empty for a # released version. diff --git a/make/STATE-VECTOR b/make/STATE-VECTOR index cf29514195..3a5fb3494a 100644 --- a/make/STATE-VECTOR +++ b/make/STATE-VECTOR @@ -81,3 +81,4 @@ 1.0.8.uu1 1.0.9 1.0.9.jcn1 +1.0.9.jbr1 diff --git a/scripts/convert-mudela.py b/scripts/convert-mudela.py index 4fa4ecdffb..41441d2c5e 100644 --- a/scripts/convert-mudela.py +++ b/scripts/convert-mudela.py @@ -14,7 +14,7 @@ # - rewrite in python program_name = 'convert-mudela' -version = '0.2' +version = '0.3' import os @@ -263,6 +263,12 @@ def do_one_file (infile_name): do_conversion (infile, from_version, outfile, to_version) + if infile_name: + infile.close () + + if outfile_name: + outfile.close () + if __main__.edit: os.rename (infile_name, infile_name + '~') os.rename (infile_name + '.NEW', infile_name) diff --git a/stepmake/bin/package-zip32.sh b/stepmake/bin/package-zip32.sh index 60174c018c..bf28e0a94e 100644 --- a/stepmake/bin/package-zip32.sh +++ b/stepmake/bin/package-zip32.sh @@ -78,9 +78,11 @@ fi cp $CYGWIN_LIB $distdir/bin # -# Rename ly2dvi32 to ly2dvi.py +# Rename python files to .py # mv $distdir/bin/ly2dvi32 $distdir/bin/ly2dvi.py +mv $distdir/bin/convert-mudela $distdir/bin/convert-mudela.py +mv $distdir/bin/mudela-book $distdir/bin/mudela-book.py # # copy man documentation to doc directory -- 2.39.5