diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-04-22 21:24:57 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-04-22 21:29:00 (GMT) |
commit | a3c9486f2f593220f5a9d4c4e57ac2bc7aa5bbf9 (patch) | |
tree | 505a2018aa28ef83828903ddae07a3ddbb07bd8e /BuildTools/SCons/Tools | |
parent | 1fe811468562aaf9cf1583997fb0894c0f56da15 (diff) | |
download | swift-a3c9486f2f593220f5a9d4c4e57ac2bc7aa5bbf9.zip swift-a3c9486f2f593220f5a9d4c4e57ac2bc7aa5bbf9.tar.bz2 |
Fixed SCons not picking up the build version correctly in tarball build.
Diffstat (limited to 'BuildTools/SCons/Tools')
-rw-r--r-- | BuildTools/SCons/Tools/BuildVersion.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BuildTools/SCons/Tools/BuildVersion.py b/BuildTools/SCons/Tools/BuildVersion.py index 8b195cd..41e6d8d 100644 --- a/BuildTools/SCons/Tools/BuildVersion.py +++ b/BuildTools/SCons/Tools/BuildVersion.py @@ -8,7 +8,7 @@ def generate(env) : static const char* buildVersion = \"%(buildVersion)s\";\n #define SWIFT_VERSION_STRING \"%(buildVersion)s\";\n -""" % { "buildVersion" : Version.getBuildVersion(project) } +""" % { "buildVersion" : Version.getBuildVersion(env.Dir("#").abspath, project) } env.WriteVal(target, env.Value(buildVersion)) env.AddMethod(createBuildVersion, "BuildVersion") |