If /bin/sh = dash then use /bin/bash instead

This prevents `trap: ERR: bad trap` errors on systems like Debian/Ubuntu.

Fixes GH-25