aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/C10shell3
-rwxr-xr-xexamples/C11screen3
2 files changed, 4 insertions, 2 deletions
diff --git a/examples/C10shell b/examples/C10shell
index a642c30..0a13d10 100644
--- a/examples/C10shell
+++ b/examples/C10shell
@@ -2,5 +2,6 @@
# 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
diff --git a/examples/C11screen b/examples/C11screen
index 8b11504..45f8a66 100755
--- a/examples/C11screen
+++ b/examples/C11screen
@@ -4,5 +4,6 @@
# invoke GNU screen if build fails.
export debian_chroot="pbuilder"
-apt-get install -y --force-yes screen
+apt-get install -y --force-yes screen vim less
+cd /tmp/buildd/*/debian/..
screen </dev/tty > /dev/tty 2> /dev/tty