]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
fixed newlines being included in aboutmsg.h
authorspog <spog>
Thu, 2 Mar 2006 22:05:35 +0000 (22:05 +0000)
committerspog <spog>
Thu, 2 Mar 2006 22:05:35 +0000 (22:05 +0000)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@35 8a3a26a2-13c4-0310-b231-cf6edde360e5

makeversion.py

index c66330590ad7a4de969d00f820ead8692afc8314..3dab61c67f0282034a2cd8a99a6def8978985137 100644 (file)
@@ -81,6 +81,8 @@ def radiant_makeversion(append_about, root = os.getcwd()):
     f = open(aboutfile, 'r')
     line = f.readline()
     f.close()
     f = open(aboutfile, 'r')
     line = f.readline()
     f.close()
+    if line.endswith("\n"):
+      line = line[:-1]
   else:
     line = "Custom build based on revision " + str(svn.getRevision(os.getcwd()))
   # optional additional message
   else:
     line = "Custom build based on revision " + str(svn.getRevision(os.getcwd()))
   # optional additional message