]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/convert-ly.py
Changed scripts/* to use sys.argv[0]
[lilypond.git] / scripts / convert-ly.py
index 5e60e25b904aaa6d4f1ba40e99979fc5c69b5f9b..b683a293f33bfffdd4c98816fff3525620332825 100644 (file)
@@ -15,9 +15,6 @@
 # 0.2
 #  - rewrite in python
 
-program_name = 'convert-ly'
-version = '@TOPLEVEL_VERSION@'
-
 import os
 import sys
 import __main__
@@ -26,6 +23,10 @@ import  string
 import re
 import time
 
+program_name = sys.argv[0]
+
+version = '@TOPLEVEL_VERSION@'
+
 # Did we ever have \mudela-version?  I doubt it.
 # lilypond_version_re_str = '\\\\version *\"(.*)\"'
 lilypond_version_re_str = '\\\\(mudela-)?version *\"([^"]+)\"'