summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-06-10 19:31:14 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-06-10 19:32:38 (GMT)
commit2efcfe5a5de8fa19e567cf4b6afb8f7e61444938 (patch)
tree9dfa602977457a66a175f05e33f5b37a93bd5cc9 /BuildTools/SCons
parentaa3ed457842d937a562eb05f2058a5845c150dc3 (diff)
downloadswift-2efcfe5a5de8fa19e567cf4b6afb8f7e61444938.zip
swift-2efcfe5a5de8fa19e567cf4b6afb8f7e61444938.tar.bz2
Fixed version detection script.
Diffstat (limited to 'BuildTools/SCons')
-rw-r--r--BuildTools/SCons/Version.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BuildTools/SCons/Version.py b/BuildTools/SCons/Version.py
index 401df21..d4a90e9 100644
--- a/BuildTools/SCons/Version.py
+++ b/BuildTools/SCons/Version.py
@@ -1,7 +1,7 @@
import subprocess, os, datetime
def getGitBuildVersion(project) :
- tag = git("describe --tags --exact --match " + project + "-*")
+ tag = git("describe --tags --exact --match '" + project + "-*'")
if tag :
return tag.rstrip()[len(project)+1:]