Index: tools/push-to-trunk/auto_roll.py |
diff --git a/tools/push-to-trunk/auto_roll.py b/tools/push-to-trunk/auto_roll.py |
index 2cca070f9fdf05cb4a48fcbd0615dd844ce6e279..00f45e04099f36949f7b548631d42359a1e266c1 100755 |
--- a/tools/push-to-trunk/auto_roll.py |
+++ b/tools/push-to-trunk/auto_roll.py |
@@ -99,6 +99,8 @@ class RollChromium(Step): |
"--sheriff", "--googlers-mapping", self._options.googlers_mapping]) |
if self._options.dry_run: |
args.extend(["--dry-run"]) |
+ if self._options.work_dir: |
+ args.extend(["--work-dir", self._options.work_dir]) |
self._side_effect_handler.Call(chromium_roll.ChromiumRoll().Run, args) |