summaryrefslogtreecommitdiff
path: root/scripts/pbuilder/hooks/C10shell
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pbuilder/hooks/C10shell')
-rwxr-xr-xscripts/pbuilder/hooks/C10shell6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/pbuilder/hooks/C10shell b/scripts/pbuilder/hooks/C10shell
new file mode 100755
index 00000000..f56f9f7f
--- /dev/null
+++ b/scripts/pbuilder/hooks/C10shell
@@ -0,0 +1,6 @@
+#!/bin/sh
+# invoke shell if build fails.
+
+apt-get install -y --force-yes vim nano less bash
+cd /tmp/buildd/*/debian/..
+/bin/bash < /dev/tty > /dev/tty 2> /dev/tty