]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/genheader.py
release: 1.0.12
[lilypond.git] / buildscripts / genheader.py
index 8e6f39603700e9f53c02e56a833bf72bee7dc28d..2c1d6be30842512900fbd484e72ba52c96e9cd09 100644 (file)
@@ -25,7 +25,10 @@ my_options = My_options()
 
 
 def name():
-    return pwd.getpwuid(os.getuid())[4]
+       return os.environ['USERNAME']
+
+# field 4 of passwd is also used for finger info (phone no.,  office etc)
+#   return pwd.getpwuid(os.getuid())[4]
 
 def c_commentify(str):
     return  '/* ' + regsub.gsub('^','  ', str) + '\n */';