fix i18n-caused error in determining svn revision (shoudl fix #5256)
git-svn-id: svn://localhost/ardour2/branches/3.0@13798 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
33d071468f
commit
a52deb13e7
3
wscript
3
wscript
|
@ -58,7 +58,8 @@ else:
|
|||
# Version stuff
|
||||
|
||||
def fetch_svn_revision (path):
|
||||
cmd = "LANG= svn info " + path + " | awk '/^Revision:/ { print $2}'"
|
||||
# the fifth line has the revision number. we can't grep because of i18n issues changing the string
|
||||
cmd = "svn info " + path + " | sed -n '5s/^[^:]*:[ \t][ \t]*//p'"
|
||||
return subprocess.Popen(cmd, shell=True, stderr=subprocess.STDOUT, stdout=subprocess.PIPE).communicate()[0].splitlines()
|
||||
|
||||
def fetch_gcc_version (CC):
|
||||
|
|
Loading…
Reference in New Issue
Block a user