You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ab...@apache.org on 2017/10/12 11:51:20 UTC

[42/50] [abbrv] lucene-solr:jira/solr-11285: Use the right root dir with the --no-prepare option

Use the right root dir with the --no-prepare option


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/b8e50f38
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/b8e50f38
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/b8e50f38

Branch: refs/heads/jira/solr-11285
Commit: b8e50f3824041bc2feb306522eb64070737e5b50
Parents: b21721f
Author: Shalin Shekhar Mangar <sh...@apache.org>
Authored: Wed Oct 11 12:53:23 2017 +0530
Committer: Shalin Shekhar Mangar <sh...@apache.org>
Committed: Wed Oct 11 12:53:23 2017 +0530

----------------------------------------------------------------------
 dev-tools/scripts/buildAndPushRelease.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/b8e50f38/dev-tools/scripts/buildAndPushRelease.py
----------------------------------------------------------------------
diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py
index cd2fdd1..af3053b 100644
--- a/dev-tools/scripts/buildAndPushRelease.py
+++ b/dev-tools/scripts/buildAndPushRelease.py
@@ -298,7 +298,7 @@ def main():
   if c.prepare:
     rev = prepare(c.root, c.version, c.key_id, c.key_password)
   else:
-    os.chdir(root)
+    os.chdir(c.root)
     rev = open('rev.txt', encoding='UTF-8').read()
 
   if c.push_local: