mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
second attempt at showing if a build is was compiled with local modifications
(first attempt was r3889; tested on linux this time :D) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3979 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
eba5b83772
commit
153ec6836e
@ -149,9 +149,8 @@ def GenerateRevFile(flavour, template, output):
|
||||
except:
|
||||
svnrev = ""
|
||||
|
||||
revstr = svnrev + "-" + flavour
|
||||
tmpstr = open(template, "r").read().replace("$WCREV$",revstr)
|
||||
|
||||
revstr = '"' + svnrev + "-" + flavour + '"'
|
||||
tmpstr = open(template, "r").read().replace("$WCMODS?\"$WCREV$M\":\"$WCREV$\"$",revstr)
|
||||
outfile = open(output, 'w')
|
||||
outfile.write(tmpstr +"\n")
|
||||
outfile.close()
|
||||
|
@ -1,2 +1,2 @@
|
||||
#define SVN_REV $WCREV$
|
||||
#define SVN_REV_STR "$WCREV$"
|
||||
#define SVN_REV_STR $WCMODS?"$WCREV$M":"$WCREV$"$
|
||||
|
Loading…
Reference in New Issue
Block a user