From 07e3878ea94f3a6a83df81b507f7ce36013f6e2d Mon Sep 17 00:00:00 2001 From: Phil Holmes Date: Mon, 16 Apr 2012 15:35:15 +0100 Subject: [PATCH] Update makelsr.py to work with local copy --- scripts/auxiliar/makelsr.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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/' -- 2.39.2