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/GetBuildVersion.py | |
parent | 1fe811468562aaf9cf1583997fb0894c0f56da15 (diff) | |
download | swift-contrib-a3c9486f2f593220f5a9d4c4e57ac2bc7aa5bbf9.zip swift-contrib-a3c9486f2f593220f5a9d4c4e57ac2bc7aa5bbf9.tar.bz2 |
Fixed SCons not picking up the build version correctly in tarball build.
Diffstat (limited to 'BuildTools/GetBuildVersion.py')
-rwxr-xr-x | BuildTools/GetBuildVersion.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BuildTools/GetBuildVersion.py b/BuildTools/GetBuildVersion.py index 9d7b29d..a362574 100755 --- a/BuildTools/GetBuildVersion.py +++ b/BuildTools/GetBuildVersion.py @@ -2,8 +2,8 @@ import sys sys.path.append("SCons") -import Version +import Version, os.path assert(len(sys.argv) == 2) -print Version.getBuildVersion(sys.argv[1]) +print Version.getBuildVersion(os.path.dirname(sys.argv[0] + "/.."), sys.argv[1]) |