We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75b054b commit a935e17Copy full SHA for a935e17
src/scripts/install-sdk.sh
@@ -26,16 +26,13 @@ function install_flutter() {
26
rm -f "flutter_sdk.${suffix}"
27
}
28
29
+echo "export PATH=$INSTALL_LOCATION/flutter/bin:\$PATH" >> "$BASH_ENV"
30
+# shellcheck source=/dev/null
31
+source "$BASH_ENV"
32
33
if ! command -v flutter &> /dev/null; then
34
install_flutter "$(uname)" "$(uname -m)"
35
+ echo "Flutter installed at: $(eval command -v flutter)"
36
else
37
echo "Previous Flutter installation detected: $(eval command -v flutter)"
- exit 0
38
fi
-
-echo "export PATH=$INSTALL_LOCATION/flutter/bin:\$PATH" >> "$BASH_ENV"
39
-# shellcheck source=/dev/null
40
-source "$BASH_ENV"
41
-which flutter
0 commit comments