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 \ |