#!/bin/bash # example file to be used with --hookdir # # invoke shell if build fails. apt-get install -y "${APTGETOPT[@]}" vim less cd "$BUILDDIR"/*/debian/.. /bin/bash < /dev/tty > /dev/tty 2> /dev/tty