[embedder] Fix failure when bootstrapping externally.

Running bootstrap.sh will fail quietly when run outside the embedder
directory, at the part where we call bootstrap_bazel.sh. Opened
fxb/111280 for bootstrap_bazel.sh.

To fix we just push into $FUCHSIA_EMBEDDER_DIR for the whole bootstrap
script and then pop out at the end.

Change-Id: Ib59b61de035a5e77d3d7b4992df76b41c5c06aa0
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index 31f6091..5238ce3 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -23,13 +23,16 @@
   exit 1
 fi
 
+# bootstrap_bazel.sh fails quietly if run outside the Bazel workspace.
+pushd $FUCHSIA_EMBEDDER_DIR
+
 echo-info "Initializing submodules..."
-git -C $FUCHSIA_EMBEDDER_DIR submodule update --recursive --init
+git submodule update --recursive --init
 
 echo-info "Configuring git to update submodules when pulling changes in this repo..."
 echo-info "(This is necessary to keep libflutter_engine.so and third_party/dart-pkg/flutter aligned"
 echo-info "to avoid crashes from Dart SDK incompatibilities)"
-git -C $FUCHSIA_EMBEDDER_DIR config submodule.recurse true
+git config submodule.recurse true
 
 echo-info "Bootstrapping Bazel..."
 $FUCHSIA_EMBEDDER_DIR/third_party/sdk-integration/bazel_rules_fuchsia/scripts/bootstrap_bazel.sh
@@ -66,6 +69,8 @@
   echo-warning 'If you have already enabled KVM, you may need to reboot your machine.'
 fi
 
+popd  # $FUCHSIA_EMBEDDER_DIR
+
 echo "Done. You're now ready to run a Flutter on Fuchsia example app:"
 echo "https://fuchsia.googlesource.com/flutter-embedder#run-an-example-app"