Language:
Free Online Dictionary|3Dict

看风转舵

Source : CEDICT

to trim one's sails (idiom)