Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1171)

Unified Diff: sdk/bin/docgen

Issue 418223008: Make docgen script work for directories with spaces in their names (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/bin/docgen
diff --git a/sdk/bin/docgen b/sdk/bin/docgen
index db0c6af846da0fffc543334764d64689c7e2f1b2..b5795d04e80c1dee7300e11c33013bca71351e4a 100755
--- a/sdk/bin/docgen
+++ b/sdk/bin/docgen
@@ -24,9 +24,9 @@ unset SNAPSHOT
SNAPSHOT="$BIN_DIR/snapshots/utils_wrapper.dart.snapshot"
-if test -f $SNAPSHOT; then
+if test -f "$SNAPSHOT"; then
exec "$BIN_DIR"/dart \
- "--package-root=$BIN_DIR/../packages/" $SNAPSHOT \
+ "--package-root=$BIN_DIR/../packages/" "$SNAPSHOT" \
docgen "--sdk=$SDK_DIR" "$@"
else
exec "$BIN_DIR"/dart \
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698