Ticket [f5155519e7]. Dropped use of bash. Generally switched the
application to an easier to read invokation without all the shell
tricks and magic.