Skip to content

Commit a1c7c7f

Browse files
author
Pascal Welsch
authored
Fix submodule matching
1 parent 5008757 commit a1c7c7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ printf "Installing Flutter Wrapper $VERSION_TAG\n"
5858
FLUTTER_DIR_NAME='.flutter'
5959

6060
# Check if submodule already exists (when updating flutter wrapper)
61-
HAS_SUBMODULE=`git submodule | grep "\ \.flutter\ "`
61+
HAS_SUBMODULE=`git submodule | grep "\ \.flutter$"`
6262
if [ -z "$HAS_SUBMODULE" ]; then
6363
printf "adding '.flutter' submodule\n"
6464
UPDATED=false

0 commit comments

Comments
 (0)