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 | f03fcf07164a4cb49ba6d119e96dffb157aa9003 (patch) | |
| tree | 175fe2cfeb3350cda138da76f625e249d24fb11a | |
| parent | 95ad30939516d2bf6bcd0b5a9c7a7d044be4ae14 (diff) | |
| download | qpid-python-f03fcf07164a4cb49ba6d119e96dffb157aa9003.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@763366 13f79535-47bb-0310-9956-ffa450edef68
| -rwxr-xr-x | qpid/buildtools/buildCreator/buildCreator.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/buildtools/buildCreator/buildCreator.py b/qpid/buildtools/buildCreator/buildCreator.py index 0db3250179..0eae0b5422 100755 --- a/qpid/buildtools/buildCreator/buildCreator.py +++ b/qpid/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 |
