File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
44
44
fi
45
45
46
46
# submodule starting with "-" are not initialized
47
- init_status=` git submodule | grep .flutter | cut -c 1`
47
+ init_status=` git submodule | git submodule | grep " \ \ .flutter\ " | cut -c 1`
48
48
49
49
# Fix not initialized flutter submodule
50
50
if [ " $init_status " = " -" ]; then
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ printf "Installing Flutter Wrapper $VERSION_TAG\n"
58
58
FLUTTER_DIR_NAME=' .flutter'
59
59
60
60
# Check if submodule already exists (when updating flutter wrapper)
61
- HAS_SUBMODULE=` git submodule | grep .flutter`
61
+ HAS_SUBMODULE=` git submodule | grep " \ \ .flutter\ " `
62
62
if [ -z " $HAS_SUBMODULE " ]; then
63
63
printf " adding '.flutter' submodule\n"
64
64
UPDATED=false
You can’t perform that action at this time.
0 commit comments