Of course no experiment or observation has yet been done that can answer your question, so any answer you're given will be based on theory -- and not everyone adheres to the same theory.
There is pretty convincing evidence that gravitational waves carry positive energy (e.g., the "chirp" observed in gravitational waves that result from black hole mergers or neutron star mergers indicates that gravitational waves carry energy away from the system). Because energy acts as a source of gravity just like mass does, a reasonable guess is that the path of a positive-energy gravitational wave will be bent as it passes a black hole pretty much the same way a light wave's path is bent.
Another good argument is this: if gravitational waves move at the speed of light they must follow null geodesics the same way light waves do -- in other words, they should follow the same kind of path as a light wave propagating in a vacuum.