Skip to content

Commit

Permalink
fix:can not find flutter
Browse files Browse the repository at this point in the history
  • Loading branch information
dashixiong91 committed Sep 29, 2019
1 parent 54cdba3 commit 1a315e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions fvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function init(){
mkdir -p ${FVM_VERSIONS_DIR}
fi
echo FLUTTER_ROOT="$FVM_CURRENT_LINK"
echo PATH="$FLUTTER_ROOT/bin:$PATH"
echo PATH="$FVM_CURRENT_LINK/bin:$PATH"
}
function list(){
print_green "current => `current`"
Expand Down Expand Up @@ -178,5 +178,3 @@ function main(){
esac
}
main "$@"


3 changes: 1 addition & 2 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ alias fvm="`brew --prefix`/opt/fvm/fvm.sh"

for element in `fvm init`
do
local export_cmd="export $element"
eval $export_cmd
export $element
done

0 comments on commit 1a315e7

Please sign in to comment.