summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPhil Holmes <mail@philholmes.net>2012-04-16 15:35:15 +0100
committerPhil Holmes <mail@philholmes.net>2012-04-16 15:40:29 +0100
commit07e3878ea94f3a6a83df81b507f7ce36013f6e2d (patch)
tree665613615d6e8663a52e2ccc70dcc7ac1cc14a95 /scripts
parent820bbcbc38981f5a1866f291cdf40042ea686db0 (diff)
Update makelsr.py to work with local copy
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/auxiliar/makelsr.py5
1 files 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/'