12 lines
393 B
Bash
12 lines
393 B
Bash
# Source before flutter/dart commands:
|
|
# source /home/chh/cyberhybridhub.com/scripts/flutter-env.sh
|
|
#
|
|
# Override install location:
|
|
# export FLUTTER_ROOT="$HOME/path/to/flutter"
|
|
|
|
if [ -n "${FLUTTER_ROOT:-}" ] && [ -d "$FLUTTER_ROOT/bin" ]; then
|
|
export PATH="$FLUTTER_ROOT/bin:$PATH"
|
|
elif [ -d "$HOME/github-open/flutter/bin" ]; then
|
|
export PATH="$HOME/github-open/flutter/bin:$PATH"
|
|
fi
|