Index: tools/push-to-trunk/push_to_trunk.py |
diff --git a/tools/push-to-trunk/push_to_trunk.py b/tools/push-to-trunk/push_to_trunk.py |
index 5902f04372094f360ce08c9898c54cf6d9764dd3..70aa801e948dd4e2f2a34e6bd13cc13fb3f4d9b4 100755 |
--- a/tools/push-to-trunk/push_to_trunk.py |
+++ b/tools/push-to-trunk/push_to_trunk.py |
@@ -40,7 +40,6 @@ CONFIG = { |
BRANCHNAME: "prepare-push", |
TRUNKBRANCH: "trunk-push", |
PERSISTFILE_BASENAME: "/tmp/v8-push-to-trunk-tempfile", |
- DOT_GIT_LOCATION: ".git", |
VERSION_FILE: "src/version.cc", |
CHANGELOG_FILE: "ChangeLog", |
CHANGELOG_ENTRY_FILE: "/tmp/v8-push-to-trunk-tempfile-changelog-entry", |
@@ -56,7 +55,7 @@ class Preparation(Step): |
MESSAGE = "Preparation." |
def RunStep(self): |
- self.InitialEnvironmentChecks() |
+ self.InitialEnvironmentChecks(self.default_cwd) |
self.CommonPrepare() |
if(self["current_branch"] == self.Config(TRUNKBRANCH) |