]> git.donarmstrong.com Git - neurodebian.git/commitdiff
adding our optional hook to login upon a failure
authorNeuroDebian <neurodebian@expert.pymvpa.org>
Fri, 1 Oct 2010 17:13:44 +0000 (13:13 -0400)
committerNeuroDebian <neurodebian@expert.pymvpa.org>
Fri, 1 Oct 2010 17:13:44 +0000 (13:13 -0400)
tools/hooks/C10shell [new file with mode: 0755]

diff --git a/tools/hooks/C10shell b/tools/hooks/C10shell
new file mode 100755 (executable)
index 0000000..0a13d10
--- /dev/null
@@ -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