diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-07 19:14:46 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-07 19:14:46 +0000 |
commit | a52deb13e782827a9456d91d7a2c1a46b92a2163 (patch) | |
tree | b93d70a5f9ed23a8d87f4dccc450b41ed148e7dd /wscript | |
parent | 33d071468f4007e52c6943fa0ca80bc1988e5fff (diff) |
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
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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): |