Index: find_depot_tools.py |
diff --git a/find_depot_tools.py b/find_depot_tools.py |
index 7d3cc576c96f23c3163450ee53ef108561dc9fc6..cce2ac8ab1fc5169b5e96faecd3b1005da58d9af 100644 |
--- a/find_depot_tools.py |
+++ b/find_depot_tools.py |
@@ -27,7 +27,8 @@ def add_depot_tools_to_path(): |
if os.path.isfile(os.path.join(root_dir, 'depot_tools', 'breakpad.py')): |
sys.path.append(os.path.join(root_dir, 'depot_tools')) |
return |
- |
+ root_dir = os.path.dirname(root_dir) |
+ print >> sys.stderr, 'Failed to find depot_tools' |
add_depot_tools_to_path() |