diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2009-04-08 19:48:28 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2009-04-08 19:48:28 +0000 |
| commit | 1d83d8d68ff636ddb2cae02629563558174d621a (patch) | |
| tree | 819f8300c19f09c42d170c1b91e62cc2f29867cf /buildtools | |
| parent | 097dcd1f13d66d4726e05aae407415be88bfd19b (diff) | |
| download | qpid-python-1d83d8d68ff636ddb2cae02629563558174d621a.tar.gz | |
Updated buildCreator to correctly checkout the specified SVN revision and updated to print the correct values in to the REVISION.txt file.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@763366 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buildtools')
| -rwxr-xr-x | buildtools/buildCreator/buildCreator.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/buildCreator/buildCreator.py b/buildtools/buildCreator/buildCreator.py index 0db3250179..0eae0b5422 100755 --- a/buildtools/buildCreator/buildCreator.py +++ b/buildtools/buildCreator/buildCreator.py @@ -1039,7 +1039,7 @@ def addPatchVersions(source, filename): url = getValue(patch.getElementsByTagName(URL)[0]) substitution += "\n" + ECHO_BIN + " \"\t\tURL:" + url + "\" >> "+filename if (type == SVN): - if (source.getElementsByTagName(REVISION).length > 0): + if (patch.getElementsByTagName(REVISION).length > 0): substitution += "\n" + ECHO_BIN + " \"\t\tREVISION:"+ \ getValue(patch.getElementsByTagName(REVISION)[0]) + "\" >> " + filename else: @@ -1112,7 +1112,7 @@ def downloadSource(source, destination): command = SVN_BIN+" co "+url+" "+targetdir if (source.getElementsByTagName(REVISION).length > 0): revision = getValue(source.getElementsByTagName(REVISION)[0]) - command = command+" -r"+revision + command = SVN_BIN+" co "+url+"@"+revision+" "+targetdir else: if (type == HTTP): command = WGET_BIN+" --no-directories -P "+targetdir+" "+url |
