Language:
Free Online Dictionary|3Dict

見風使船

Source : CEDICT

to act as the occasion dictates/to see how the wind blows (idiom)