[embedder] Fix error message for ensure-embedder-dir
Change-Id: Id399d4f0c5978c7af424882f72439d5af4de1275
Reviewed-on: https://fuchsia-review.googlesource.com/c/flutter-embedder/+/753191
Reviewed-by: Filip Filmar <fmil@google.com>
diff --git a/scripts/lib/helpers.sh b/scripts/lib/helpers.sh
index e44ccaf..432b82d 100644
--- a/scripts/lib/helpers.sh
+++ b/scripts/lib/helpers.sh
@@ -40,7 +40,7 @@
if [[ -z "${FUCHSIA_EMBEDDER_DIR}" ]]; then
echo-error '$FUCHSIA_EMBEDDER_DIR must be set to your flutter-embedder folder before running this script.'
echo-error 'Add this line to your shell profile:'
- echo-error "export FUCHSIA_EMBEDDER_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && cd .. && pwd)"
+ echo-error "export FUCHSIA_EMBEDDER_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && cd ../.. && pwd)"
exit 1
fi
}