ㄐㄧㄢˋㄈㄥㄓㄨㄢˇㄉㄨㄛˋjiànfēng‑zhuǎnduò

见风转舵
  1. 風向改變立刻比喻見機行事隨機應變比喻改變原先立場投靠一方貶義)​。 見風轉舵順勢」。

lit. see the wind and set the helm (idiom)​; fig. to act pragmatically, to be flexible and take advantage of the situation