mirror of
https://github.com/flutter/flutter.git
synced 2026-02-05 11:19:18 +08:00
Before this change, if CDPATH was set, and you type (from the flutter root) "bin/flutter --version" you would get an error. This is because the cd command in follow_links was printing the directory Bash chose from the CDPATH to stdout, causing the path to have a newline in it, which understandably confuses the rest of the script.