From: NeuroDebian Date: Fri, 1 Oct 2010 17:13:44 +0000 (-0400) Subject: adding our optional hook to login upon a failure X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d8c9424bb2eb4466dfb244782dfbe96e45a1830c;p=neurodebian.git adding our optional hook to login upon a failure --- diff --git a/tools/hooks/C10shell b/tools/hooks/C10shell new file mode 100755 index 0000000..0a13d10 --- /dev/null +++ b/tools/hooks/C10shell @@ -0,0 +1,7 @@ +#!/bin/bash +# example file to be used with --hookdir +# +# invoke shell if build fails. +apt-get install -y --force-yes vim less +cd /tmp/buildd/*/debian/.. +/bin/bash < /dev/tty > /dev/tty 2> /dev/tty