Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
k-paxian authored Jul 10, 2022
1 parent 7b53cbc commit 9e7cb95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ switch_working_directory() {

detect_flutter_package() {
GET_OUTPUT=`dart pub get`
if [ "$?" = 69 ] || [ "$GET_OUTPUT" = "Resolving dependencies..." ] || [ "$INPUT_FLUTTER"="true" ]; then
if [ "$?" = 69 ] || [ "$GET_OUTPUT" = "Resolving dependencies..." ] || [ "$INPUT_FLUTTER" = "true" ]; then
INPUT_FLUTTER="true"
echo "Flutter package detected"
echo "Flutter package detected. Installing Flutter from $INPUT_FLUTTERBRANCH branch..."
git clone -b $INPUT_FLUTTERBRANCH --depth 1 https://github.com/flutter/flutter.git /flutter
flutter doctor
fi
Expand Down

0 comments on commit 9e7cb95

Please sign in to comment.