From d8c9424bb2eb4466dfb244782dfbe96e45a1830c Mon Sep 17 00:00:00 2001 From: NeuroDebian Date: Fri, 1 Oct 2010 13:13:44 -0400 Subject: [PATCH] adding our optional hook to login upon a failure --- tools/hooks/C10shell | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 tools/hooks/C10shell 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 -- 2.39.5