Skip to content

Commit 5008757

Browse files
author
Pascal Welsch
authored
Fix .flutter submodule matching
did not match for only a single submodule
1 parent e811d1d commit 5008757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flutterw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
4444
fi
4545

4646
# submodule starting with "-" are not initialized
47-
init_status=`git submodule | git submodule | grep "\ \.flutter\ " | cut -c 1`
47+
init_status=`git submodule | grep "\ \.flutter$" | cut -c 1`
4848

4949
# Fix not initialized flutter submodule
5050
if [ "$init_status" = "-" ]; then

0 commit comments

Comments
 (0)