From: Phil Holmes Date: Mon, 16 Apr 2012 14:35:15 +0000 (+0100) Subject: Update makelsr.py to work with local copy X-Git-Tag: release/2.15.37-1~9 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=07e3878ea94f3a6a83df81b507f7ce36013f6e2d;p=lilypond.git Update makelsr.py to work with local copy --- diff --git a/scripts/auxiliar/makelsr.py b/scripts/auxiliar/makelsr.py index 3d088b5269..6927476be9 100755 --- a/scripts/auxiliar/makelsr.py +++ b/scripts/auxiliar/makelsr.py @@ -41,6 +41,8 @@ def exit_with_usage (n=0): sys.stderr.write (USAGE) sys.exit (n) +TAGS = [] + if len (sys.argv) >= 2: in_dir = sys.argv[1] if not (os.path.isdir (in_dir)): @@ -50,11 +52,10 @@ if len (sys.argv) >= 2: exit_with_usage (2) if not (os.path.isdir (DEST) and os.path.isdir (NEW_LYS)): exit_with_usage (3) + TAGS = os.listdir (in_dir) else: in_dir = '' -TAGS = os.listdir (in_dir) - # which convert-ly to use if os.path.isfile("out/bin/convert-ly"): conv_path='out/bin/'