From 22a358ffbd5a15ca5dfeea7053d0dacc80be5a5d Mon Sep 17 00:00:00 2001 From: Anshum Gupta Date: Wed, 10 Jun 2015 19:04:43 +0000 Subject: [PATCH] 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 --- dev-tools/scripts/buildAndPushRelease.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py index 6e73f8d8461..81b2aa1d971 100644 --- a/dev-tools/scripts/buildAndPushRelease.py +++ b/dev-tools/scripts/buildAndPushRelease.py @@ -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: