Skip to content

Commit 33a9acd

Browse files
[macos] Fix script handling of spaces in paths
Currently building is broken when there are spaces in the path containing the local checkout of the repository.
1 parent 67cbda5 commit 33a9acd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/build_flutter_assets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ readonly flutter_binary="$flutter_dir/bin/flutter"
3030
#readonly build_type=host_debug_unopt
3131
#readonly extra_flags=(--local-engine-src-path $engine_src_path --local-engine=$build_type)
3232

33-
cd $1
33+
cd "$1"
3434
echo Running "$flutter_binary" ${extra_flags[*]} build bundle
3535
exec "$flutter_binary" ${extra_flags[*]} build bundle

tools/update_flutter_engine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ readonly dart_bin_dir="$flutter_bin_dir/cache/dart-sdk/bin"
2121
if [[ ! -e $dart_bin_dir ]]; then
2222
"$flutter_bin_dir/flutter" precache
2323
fi
24-
exec "$dart_bin_dir/dart" "$base_dir/dart_tools/bin/update_flutter_engine.dart" $@
24+
exec "$dart_bin_dir/dart" "$base_dir/dart_tools/bin/update_flutter_engine.dart" "$@"

0 commit comments

Comments
 (0)