Index: mojo/public/tools/dart_pkg.py |
diff --git a/mojo/public/tools/dart_pkg.py b/mojo/public/tools/dart_pkg.py |
index a6f9dfdac6708c13942b368687ebbe77978ee37c..86ae5d5b83c36ad3eeed10bdbbf916daa853cd27 100755 |
--- a/mojo/public/tools/dart_pkg.py |
+++ b/mojo/public/tools/dart_pkg.py |
@@ -48,8 +48,9 @@ def mojom_filter(path): |
def ensure_dir_exists(path): |
- if not os.path.exists(path): |
- os.makedirs(path) |
+ abspath = os.path.abspath(path) |
+ if not os.path.exists(abspath): |
+ os.makedirs(abspath) |
def has_pubspec_yaml(paths): |