diff --git a/scripts/patch_e2e.sh b/scripts/patch_e2e.sh index 1214bc85..266866c1 100755 --- a/scripts/patch_e2e.sh +++ b/scripts/patch_e2e.sh @@ -14,8 +14,9 @@ # # Usage: ./patch_e2e.sh -TEMP_DIR=$(mktemp -d) -cd $TEMP_DIR +# Intentionally including a space in the path. +TEMP_DIR=$(mktemp -d -t 'shorebird workspace-XXXXX') +cd "$TEMP_DIR" # Create a new empty flutter project flutter create e2e_test --empty --platforms android