Fix buildAndPushRelease.py to echo the correct command for running smokeTester after completion

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684739 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Anshum Gupta 2015-06-10 19:04:43 +00:00
parent bbadb6fc42
commit 22a358ffbd
1 changed files with 3 additions and 1 deletions

View File

@ -289,7 +289,9 @@ def main():
if url is not None:
print(' URL: %s' % url)
print('Next set the PYTHON_EXEC env var and you can run the smoker tester:')
print(' $PYTHON_EXEC %s %s' % (sys.argv[0], url))
p = re.compile("(.*)\/")
m = p.match(sys.argv[0])
print(' $PYTHON_EXEC %ssmokeTestRelease.py %s' % (m.group(), url))
if __name__ == '__main__':
try: