随风倒舵

suí fēng dǎo duò

to trim one's sails with the wind

to adopt different attitude depending on the circumstances (idiom)

suí

to follow

fēng

wind

dǎo

to fall; to collapse; to lie horizontally

duò

helm