]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/etf2ly.py
Changed scripts/* to use sys.argv[0]
[lilypond.git] / scripts / etf2ly.py
index 307f16c449a4726f82ca6bc714b1e58e537e058b..8e2397b4fd059612163f7c224b59c87881ae4350 100644 (file)
 #
 
 
-program_name = 'etf2ly'
-version = '@TOPLEVEL_VERSION@'
-if version == '@' + 'TOPLEVEL_VERSION' + '@':
-       version = '(unknown version)'      # uGUHGUHGHGUGH
-  
 import __main__
 import getopt
 import sys
@@ -38,6 +33,12 @@ import re
 import string
 import os
 
+program_name = sys.argv[0]
+
+version = '@TOPLEVEL_VERSION@'
+if version == '@' + 'TOPLEVEL_VERSION' + '@':
+       version = '(unknown version)'      # uGUHGUHGHGUGH
+  
 finale_clefs= ['treble', 'alto', 'tenor', 'bass', 'percussion', 'treble_8', 'bass_8', 'baritone']
 
 def lily_clef (fin):