Language:
Free Online Dictionary|3Dict

随风倒舵

Source : CEDICT

to trim one's sails with the wind/to adopt different attitude depending on the circumstances (idiom)